/*
Theme Name: made by Finja
Description: Child-Theme für den Shop „made by Finja“ (Schmuck aus Pferdehaar). Eigene Templates, lokale Schriften, kein Pagebuilder.
Author: avui
Template: generatepress
Version: 1.0.0
Text Domain: madebyfinja
*/

/* ---------- Schriften (lokal, variable Dateien, nur latin und latin-ext) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/manrope-400-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/manrope-400-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(assets/fonts/newsreader-500-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(assets/fonts/newsreader-500-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dancing Script"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/dancingscript-600-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dancing Script"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/dancingscript-600-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Design-Tokens (exakt wie briefing/design/design-tokens.css, das Konfigurator-Plugin nutzt sie) ---------- */
:root {
  --mbf-rose: #E3B3B1;
  --mbf-champagne: #8C6B3F;
  --mbf-cream: #FBF6F2;
  --mbf-ink: #2A2522;
  --mbf-text: #4A4A4A;
  --mbf-grey: #6B6B6B;
  --mbf-line: #E8E8E8;
  --mbf-line-warm: #E3D7CC;
  --mbf-input: #D9D2CC;
  --mbf-white: #FFFFFF;
  /* Nicht aus dem Design: Rahmen von Eingabefeldern brauchen 3:1 zur Fläche (WCAG 1.4.11), --mbf-input hat nur 1,5:1 */
  --mbf-input-kante: #8F867E;

  --mbf-font-display: "Newsreader", Georgia, serif;
  --mbf-font-text: "Manrope", system-ui, sans-serif;
  --mbf-font-script: "Dancing Script", cursive;

  --mbf-h1: 56px;
  --mbf-h2: 44px;
  --mbf-h3: 26px;
  --mbf-script: 30px;
  --mbf-lead: 20px;
  --mbf-copy: 16px;
  --mbf-label: 12px;
  --mbf-line-height: 1.6;

  --mbf-container: 1280px;
  --mbf-gutter: 24px;
  --mbf-section-y: 96px;

  --mbf-radius-pill: 50px;
  --mbf-radius-card: 24px;
  --mbf-radius-tile: 14px;
  --mbf-radius-input: 14px;
  --mbf-touch: 44px;

  /* Produktbilder ohne Box: das Foto füllt die Fläche und bekommt selbst die Rundung (Wunsch von Tjade, 15.11.2026).
     Kein Innenabstand. Alle Produktfotos sind quadratisch, es wird also nichts beschnitten.
     Die Fotos sind 2 % dunkler, damit sich auch Bilder mit weißem Hintergrund von der weißen Seite abheben. */
  --mbf-product-img-filter: brightness(0.98);
  --mbf-product-img-padding: 0;
}

/* ---------- Basis (GeneratePress-Styles werden nicht geladen) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mbf-white); color: var(--mbf-text); font-family: var(--mbf-font-text); font-size: var(--mbf-copy); line-height: var(--mbf-line-height); overflow-wrap: break-word; }
img, svg, video { max-width: 100%; height: auto; }
img { border: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--mbf-font-display); font-weight: 500; color: var(--mbf-ink); line-height: 1.15; }
p { margin: 0 0 16px; }
a { color: var(--mbf-ink); }
a:hover { color: var(--mbf-champagne); }
b, strong { font-weight: 700; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--mbf-line); margin: 32px 0; }
:focus-visible { outline: 3px solid var(--mbf-rose); outline-offset: 2px; }
[id] { scroll-margin-top: 24px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 20px; background: var(--mbf-white); color: var(--mbf-ink); z-index: 1000; top: 8px; left: 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Bausteine ---------- */
.mbf-container { max-width: calc(var(--mbf-container) + 2 * var(--mbf-gutter)); margin: 0 auto; padding-left: var(--mbf-gutter); padding-right: var(--mbf-gutter); }
.mbf-abschnitt { padding-top: var(--mbf-section-y); padding-bottom: var(--mbf-section-y); }
.mbf-creme { background: var(--mbf-cream); }
.mbf-dunkel { background: var(--mbf-ink); color: var(--mbf-white); }
.mbf-eyebrow { margin: 0; font-family: var(--mbf-font-script); font-weight: 600; font-size: var(--mbf-script); line-height: 1.2; color: var(--mbf-champagne); }
.mbf-dunkel .mbf-eyebrow { color: var(--mbf-rose); }
.mbf-h1 { margin: 0 0 14px; font-size: clamp(36px, 3.9vw, var(--mbf-h1)); line-height: 1.1; }
.mbf-h2 { margin: 0 0 12px; font-size: clamp(32px, 3.06vw, var(--mbf-h2)); line-height: 1.1; }
.mbf-h3 { margin: 0 0 6px; font-size: var(--mbf-h3); line-height: 1.2; }
.mbf-dunkel h2, .mbf-dunkel h3 { color: var(--mbf-white); }
.mbf-lead { margin: 0; font-size: var(--mbf-lead); line-height: 1.6; }
.mbf-label { margin: 0; font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.mbf-label a { color: inherit; }
.mbf-mitte { text-align: center; }
.mbf-link { font-weight: 700; }

.mbf-btn, .mbf-inhalt .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 6px 32px; border: 2px solid var(--mbf-ink); border-radius: var(--mbf-radius-pill); background: none; color: var(--mbf-ink); font-family: var(--mbf-font-text); font-size: var(--mbf-copy); font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; }
.mbf-btn--dark, .mbf-inhalt .wp-block-button__link { background: var(--mbf-ink); color: var(--mbf-white); }
.mbf-btn--dark:hover, .mbf-inhalt .wp-block-button__link:hover { background: #453C37; border-color: #453C37; color: var(--mbf-white); }
.mbf-btn--rose { background: var(--mbf-rose); border-color: var(--mbf-rose); color: var(--mbf-ink); }
.mbf-btn--rose:hover { background: #EBC6C4; border-color: #EBC6C4; color: var(--mbf-ink); }
.mbf-btn--outline:hover { background: var(--mbf-ink); color: var(--mbf-white); }
.mbf-btn--klein { min-height: 52px; padding: 6px 30px; }
.mbf-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Zweispalter mit Bild und Text */
.mbf-zwei { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.mbf-zwei > * { flex: 1 1 440px; min-width: 0; }
.mbf-foto { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--mbf-radius-card); }
.mbf-foto--43 { aspect-ratio: 4 / 3; }
.mbf-foto--45 { aspect-ratio: 4 / 5; }
.mbf-foto--32 { aspect-ratio: 3 / 2; }

/* Produktbild: immer 1:1, nie beschneiden */
.mbf-product-img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: var(--mbf-product-img-padding); background: var(--mbf-white); filter: var(--mbf-product-img-filter); }

/* Raster */
.mbf-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.mbf-raster--fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mbf-raster--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
/* Eine Zeile Preisangabe unter jedem Produktraster statt Rechtshinweisen in jeder Karte */
.mbf-preishinweis { margin: 28px 0 0; font-size: var(--mbf-label); line-height: 1.5; color: var(--mbf-grey); }
.mbf-preishinweis a { color: inherit; }
.mbf-raster--kat { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* Karten mit Rahmen (Schritte, Werte) */
.mbf-box { padding: 32px; border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-card); background: var(--mbf-white); }
.mbf-box p:last-child { margin-bottom: 0; }
.mbf-nummer { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--mbf-rose); font-family: var(--mbf-font-display); font-size: 22px; color: var(--mbf-ink); }

/* Dunkles bzw. umrandetes Band mit Button */
.mbf-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 48px; border-radius: 28px; }
.mbf-band > div { flex: 1 1 480px; min-width: 0; }
.mbf-band h2 { margin: 0 0 6px; font-size: 36px; line-height: 1.15; }
.mbf-band p { margin: 0; }
.mbf-band.mbf-dunkel p { color: #E8E1DC; }
.mbf-band--hell { padding: 40px 48px; border: 1px solid var(--mbf-line); }
.mbf-band--hell h2 { font-size: 32px; line-height: 1.2; }

/* Pills (Shop-Filter, Sprungmarken) */
.mbf-pillleiste { border-bottom: 1px solid var(--mbf-line); }
.mbf-pillleiste__innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.mbf-pillleiste p { margin: 0; }
.mbf-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mbf-pill { display: inline-flex; align-items: center; min-height: var(--mbf-touch); padding: 0 20px; border: 2px solid var(--mbf-line); border-radius: var(--mbf-radius-pill); background: var(--mbf-white); color: var(--mbf-ink); font-weight: 600; text-decoration: none; }
.mbf-pill:hover { border-color: var(--mbf-ink); color: var(--mbf-ink); }
.mbf-pill[aria-current] { border-color: var(--mbf-ink); background: var(--mbf-ink); color: var(--mbf-white); font-weight: 700; }

/* Seitenkopf auf Creme */
.mbf-kopf { background: var(--mbf-cream); padding: 64px 0 56px; }
.mbf-kopf--hoch { padding: 72px 0 64px; }
.mbf-kopf .mbf-label { margin-bottom: 12px; letter-spacing: .12em; }
.mbf-kopf .mbf-lead { max-width: 680px; }
.mbf-brotkrumen { letter-spacing: .12em; }

/* Sichtbarer Platzhalter in Rechts- und Fließtexten */
.mbf-pruefen { background: #FFE94D; color: #2A2522; padding: 1px 6px; border-radius: 4px; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Akkordeon mit eigenem Chevron */
/* Die Frage-Zeile ist 44 px hoch (Touch-Ziel), die Abstände sind entsprechend kleiner: gleiche Gesamthöhe wie im Design */
details { border-bottom: 1px solid var(--mbf-line); padding: 8px 0; }
details > *:not(summary) { margin: 2px 0 8px; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--mbf-touch); cursor: pointer; font-weight: 700; color: var(--mbf-ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--mbf-champagne); border-bottom: 2px solid var(--mbf-champagne); transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.mbf-akkordeon { border-top: 1px solid var(--mbf-line); }
.mbf-creme details, .mbf-creme .mbf-akkordeon { border-color: var(--mbf-line-warm); }
.mbf-creme details { padding: 12px 0; }

/* ---------- Infoleiste und Header ---------- */
.mbf-infoleiste { background: var(--mbf-ink); color: var(--mbf-white); font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mbf-infoleiste ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 40px; list-style: none; margin: 0 auto; padding: 10px var(--mbf-gutter); max-width: calc(var(--mbf-container) + 2 * var(--mbf-gutter)); }
.mbf-header { border-bottom: 1px solid var(--mbf-line); background: var(--mbf-white); }
.mbf-header__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.mbf-marke { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; color: var(--mbf-ink); text-decoration: none; }
.mbf-marke:hover { color: var(--mbf-ink); }
.mbf-marke__script { font-family: var(--mbf-font-script); font-weight: 600; font-size: 26px; line-height: 1; color: var(--mbf-champagne); }
.mbf-marke__name { font-family: var(--mbf-font-display); font-weight: 500; font-size: 34px; line-height: 1; color: var(--mbf-ink); }
.mbf-nav ul { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.mbf-nav a { display: inline-block; padding: 8px 0; text-decoration: none; }
.mbf-nav .current-menu-item > a, .mbf-nav .current_page_item > a, .mbf-nav a[aria-current] { text-decoration: underline 2px var(--mbf-rose); text-underline-offset: 6px; }
.mbf-header__rechts { display: flex; align-items: center; gap: 8px; }
.mbf-warenkorb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--mbf-touch); padding: 0 18px; border: 2px solid var(--mbf-rose); border-radius: var(--mbf-radius-pill); font-weight: 700; text-decoration: none; }
.mbf-warenkorb svg { flex: 0 0 auto; }
.mbf-menue-knopf { display: none; align-items: center; justify-content: center; width: var(--mbf-touch); height: var(--mbf-touch); padding: 0; border: 2px solid var(--mbf-line); border-radius: 50%; background: var(--mbf-white); color: var(--mbf-ink); }
.mbf-menue-knopf[aria-expanded="true"] .mbf-menue-knopf__auf, .mbf-menue-knopf[aria-expanded="false"] .mbf-menue-knopf__zu { display: none; }

/* ---------- Footer ---------- */
.mbf-footer { background: var(--mbf-cream); border-top: 1px solid var(--mbf-line-warm); padding: 64px 0 40px; }
.mbf-footer__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.mbf-footer .mbf-marke { margin-bottom: 12px; }
.mbf-footer .mbf-marke__script { font-size: 24px; }
.mbf-footer .mbf-marke__name { font-size: 30px; }
.mbf-footer p { margin: 0; }
.mbf-footer h2 { margin: 0 0 12px; font-family: var(--mbf-font-text); font-size: var(--mbf-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mbf-ink); line-height: 1.6; }
.mbf-footer ul { display: flex; flex-direction: column; gap: 6px; list-style: none; margin: 0; padding: 0; }
/* Links im Footer ohne Unterstreichung, beim Überfahren färben sie sich um. Als Links erkennbar bleiben sie durch die Listen unter den Überschriften. */
.mbf-footer a { text-decoration: none; transition: color .15s; }
.mbf-footer a:hover { color: var(--mbf-champagne); }
.mbf-footer__kontakt a { display: inline-flex; align-items: center; gap: 10px; }
.mbf-footer__kontakt svg { flex: 0 0 auto; color: var(--mbf-champagne); }
.mbf-footer__recht { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mbf-line-warm); font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.mbf-footer__recht ul { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
.mbf-footer__recht a { color: var(--mbf-grey); }
.mbf-footer__recht a:hover { color: var(--mbf-ink); }

/* ---------- Startseite ---------- */
.mbf-hero { padding: 80px 0 88px; }
.mbf-hero .mbf-zwei > :first-child { flex-basis: 440px; }
.mbf-hero .mbf-zwei > :last-child { flex-basis: 520px; }
.mbf-hero .mbf-eyebrow { margin-bottom: 4px; font-size: 32px; }
.mbf-hero h1 { margin: 0 0 20px; font-size: clamp(40px, 4.45vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
.mbf-hero .mbf-lead { max-width: 520px; margin-bottom: 36px; }
.mbf-hero__vertrauen { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.mbf-hero__vertrauen p { margin: 0; }
.mbf-punkte { display: flex; flex: 0 0 auto; }
/* Drei kleine runde Armband-Bilder, überlappend wie Avatare */
.mbf-punkte span { display: block; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--mbf-white); background: var(--mbf-white); overflow: hidden; box-shadow: 0 1px 4px rgba(42, 37, 34, .14); }
.mbf-punkte span + span { margin-left: -14px; }
/* Die Produktfotos haben viel Rand: leicht vergrößert, damit das Armband im kleinen Kreis erkennbar bleibt */
.mbf-punkte img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); }
.mbf-kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.mbf-kopfzeile .mbf-h2 { margin: 0; }
.mbf-intro { max-width: 680px; margin-bottom: 36px; }
.mbf-intro--mitte { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.mbf-intro--mitte .mbf-h2, .mbf-intro--schmal .mbf-h2 { margin-bottom: 0; }
.mbf-intro--schmal { max-width: 640px; margin-bottom: 40px; }
.mbf-kachel { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.mbf-kachel .mbf-product-img { border-radius: 20px; }
.mbf-kachel span { font-family: var(--mbf-font-display); font-weight: 500; font-size: var(--mbf-h3); line-height: 1.2; color: var(--mbf-ink); }
.mbf-kachel:hover span { color: var(--mbf-champagne); }
.mbf-gestalten__bild { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--mbf-white); }
.mbf-gestalten .mbf-zwei > :first-child { flex-basis: 520px; }
.mbf-gestalten .mbf-zwei > :last-child { flex-basis: 420px; }
.mbf-gestalten .mbf-lead { margin-bottom: 28px; }
.mbf-modelle { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mbf-line-warm); }
.mbf-modelle a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--mbf-line-warm); text-decoration: none; color: var(--mbf-text); }
.mbf-modelle b { display: block; font-family: var(--mbf-font-display); font-weight: 500; font-size: 24px; line-height: 1.6; color: var(--mbf-ink); }
.mbf-modelle__preis { white-space: nowrap; font-weight: 700; color: var(--mbf-ink); }
.mbf-modelle a:hover b, .mbf-modelle a:hover .mbf-modelle__preis { color: var(--mbf-champagne); }
.mbf-stimme { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 32px; border: 1px solid #4A403B; border-radius: var(--mbf-radius-card); }
.mbf-stimme blockquote { margin: 0; font-family: var(--mbf-font-display); font-weight: 500; font-size: 22px; line-height: 1.45; color: var(--mbf-white); }
.mbf-stimme figcaption { font-weight: 700; color: var(--mbf-rose); }
.mbf-raster--stimmen { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Produktkarte ---------- */
.mbf-karte { display: flex; flex-direction: column; min-width: 0; }
.mbf-karte__link { position: relative; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--mbf-text); }
.mbf-karte__bild { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--mbf-cream); }
.mbf-karte__bild img { height: 100%; }
.mbf-karte__badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: var(--mbf-radius-pill); background: var(--mbf-rose); font-size: var(--mbf-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mbf-ink); }
.mbf-karte__text { display: flex; flex-direction: column; gap: 2px; }
.mbf-karte__titel { margin: 0; font-family: var(--mbf-font-display); font-weight: 500; font-size: 24px; line-height: 1.25; color: var(--mbf-ink); }
.mbf-karte__link:hover .mbf-karte__titel { color: var(--mbf-champagne); }
.mbf-karte__zeile { font-size: var(--mbf-label); line-height: 1.5; color: var(--mbf-grey); }
.mbf-karte__preis { margin-top: 8px; font-weight: 700; color: var(--mbf-ink); }
.mbf-karte__preis del { font-weight: 400; color: var(--mbf-grey); }
.mbf-karte__preis ins { text-decoration: none; }
/* Untertitel als schwebendes Tag (wie das Badge oben): kommt von unten ins Bild und bleibt mit Abstand zum Rand stehen.
   Nur bei echtem Hover und bei Tastaturfokus. Auf Touch-Geräten bleibt es weg, das Bild bleibt frei. */
.mbf-karte__lade { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; pointer-events: none; }
.mbf-karte__lade span { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 6px 14px; border-radius: 14px; background: var(--mbf-rose); color: var(--mbf-ink); font-size: 14px; font-weight: 600; line-height: 1.35; opacity: 0; transform: translateY(calc(100% + 16px)); transition: transform .28s ease, opacity .2s ease; }
.mbf-karte__link:focus-visible .mbf-karte__lade span { transform: none; opacity: 1; }
@media (hover: hover) { .mbf-karte__link:hover .mbf-karte__lade span { transform: none; opacity: 1; } }
/* Variante mit Rahmen (Startseite, „Aus derselben Strähne“) */
.mbf-karte--rahmen { border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-card); overflow: hidden; background: var(--mbf-white); }
.mbf-karte--rahmen .mbf-karte__link { gap: 0; }
.mbf-karte--rahmen .mbf-karte__bild { border-radius: 0; background: var(--mbf-white); }
.mbf-karte--rahmen .mbf-karte__badge { top: 16px; left: 16px; padding: 4px 14px; }
.mbf-karte--rahmen .mbf-karte__lade { border-radius: 0; }
.mbf-karte--rahmen .mbf-karte__text { padding: 20px 24px 24px; }
.mbf-karte--rahmen .mbf-karte__titel { line-height: 1.2; }
/* Tastaturfokus: die Karte schneidet den Ring am Link ab (overflow), deshalb trägt ihn die ganze Karte */
.mbf-karte--rahmen:has(.mbf-karte__link:focus-visible) { outline: 3px solid var(--mbf-rose); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mbf-ink); }
.mbf-karte--rahmen .mbf-karte__link:focus-visible { outline: 0 !important; box-shadow: none !important; }
/* Germanized-Rechtshinweise (Produktseite, Warenkorb, Kasse): klein und dezent */
.wc-gzd-additional-info, .wc-gzd-additional-info-loop, .legal-price-info, .wc-gzd-cart-info, .wc-gzd-item-desc, .delivery-time-info, .tax-info, .shipping-costs-info, .includes_tax, .tax_label { margin: 0; font-size: var(--mbf-label); line-height: 1.5; font-weight: 400; color: var(--mbf-grey); }
.wc-gzd-additional-info a, .legal-price-info a { color: var(--mbf-grey); }

/* ---------- So geht's ---------- */
.mbf-film { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--mbf-ink); }
.mbf-film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mbf-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--mbf-ink); }
.mbf-film__play { position: relative; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--mbf-rose); box-shadow: 0 0 0 14px rgba(227, 179, 177, .22); }
/* Verlauf unter den Labels des Platzhalters: weiße Schrift bleibt auch auf einem hellen Poster lesbar */
.mbf-film[role="img"]::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(42, 37, 34, .8)); pointer-events: none; }
.mbf-film__label { z-index: 1; position: absolute; left: 28px; bottom: 24px; font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-white); }
.mbf-film__label--rechts { left: auto; right: 28px; color: #E8E1DC; }
.mbf-film + p { margin: 16px 0 0; }
.mbf-einsenden { align-items: flex-start; }
.mbf-einsenden > :first-child { flex-basis: 520px; }
.mbf-einsenden > :last-child { flex-basis: 360px; }
.mbf-einsenden .mbf-h2 { margin-bottom: 14px; }
.mbf-einsenden .mbf-lead { margin-bottom: 32px; }
.mbf-punktliste { display: flex; flex-direction: column; gap: 20px; list-style: none; margin: 0; padding: 0; }
.mbf-punktliste li { display: flex; gap: 18px; }
.mbf-punktliste__icon { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 50%; background: var(--mbf-white); }
.mbf-punktliste h3 { margin: 0 0 4px; font-family: var(--mbf-font-text); font-size: var(--mbf-copy); font-weight: 700; line-height: 1.6; }
.mbf-punktliste p { margin: 0; }
.mbf-adresskarte { padding: 36px; background: var(--mbf-white); border: 2px solid var(--mbf-rose); border-radius: var(--mbf-radius-card); }
.mbf-adresskarte .mbf-label { margin-bottom: 12px; letter-spacing: .12em; }
.mbf-adresskarte address { font-family: var(--mbf-font-display); font-weight: 500; font-size: 28px; line-height: 1.35; color: var(--mbf-ink); }
.mbf-adresskarte p:last-child { margin: 20px 0 0; }
.mbf-laenge .mbf-h2 { margin-bottom: 14px; }
.mbf-laenge .mbf-lead { margin-bottom: 24px; }
.mbf-laenge ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0 0 0 20px; }
.mbf-rechner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mbf-rechner > div { padding: 24px 16px; border: 1px solid var(--mbf-line); border-radius: 20px; text-align: center; }
.mbf-rechner > .mbf-rechner__ergebnis { border: 2px solid var(--mbf-rose); background: var(--mbf-cream); }
.mbf-rechner__wert { display: block; margin: 4px 0 0; font-family: var(--mbf-font-display); font-weight: 500; font-size: 32px; line-height: 1.6; color: var(--mbf-ink); white-space: nowrap; }
.mbf-rechner input[type="text"] { width: 3.2ch; min-height: 44px; padding: 0; border: 0; border-bottom: 2px solid var(--mbf-champagne); border-radius: 0; background: none; font: inherit; color: inherit; text-align: center; box-sizing: content-box; }
.mbf-rechner__hinweis { grid-column: 1 / -1; margin: 4px 0 0; min-height: 26px; }
.mbf-faq { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.mbf-faq > :first-child { flex: 1 1 320px; min-width: 0; }
.mbf-faq > :last-child { flex: 2 1 640px; min-width: 0; }
.mbf-faq .mbf-inhalt > details:first-child, .mbf-faq .mbf-inhalt > .wp-block-details:first-child { border-top: 1px solid var(--mbf-line-warm); }

/* ---------- Extras ---------- */
.mbf-extras { display: flex; flex-direction: column; gap: 64px; padding-top: 56px; }
.mbf-extras__gruppe { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.mbf-extras__gruppe > :first-child { flex: 1 1 300px; min-width: 0; }
.mbf-extras__gruppe h2 { margin: 0 0 8px; font-size: 36px; line-height: 1.15; }
.mbf-extras__liste { flex: 2 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; align-content: start; }
.mbf-extra { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px; border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-tile); line-height: 1.35; }
.mbf-extra__bild { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid var(--mbf-line); border-radius: 8px; background: var(--mbf-cream); overflow: hidden; }
.mbf-extra__bild img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--mbf-white); }
.mbf-extra__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mbf-extra__text b { color: var(--mbf-ink); }
.mbf-extra__pop { display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 30; aspect-ratio: 1 / 1; padding: 12px; border: 1px solid var(--mbf-line); border-radius: 16px; outline: 6px solid var(--mbf-cream); outline-offset: -7px; background: var(--mbf-white); box-shadow: 0 16px 36px rgba(42, 37, 34, .2); pointer-events: none; }
.mbf-extra__pop img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) { .mbf-extra:hover .mbf-extra__pop { display: block; } }

/* ---------- Über mich ---------- */
.mbf-ueber-hero { padding: 72px 0; }
.mbf-ueber-hero .mbf-zwei { gap: 48px 72px; }
.mbf-ueber-hero .mbf-zwei > :first-child { flex-basis: 460px; }
.mbf-ueber-hero .mbf-zwei > :last-child { flex-basis: 420px; }
.mbf-ueber-hero .mbf-h1 { margin-bottom: 16px; }
.mbf-ueber-hero .mbf-lead { margin-bottom: 28px; }
.mbf-geschichte { gap: 40px 64px; }
.mbf-geschichte > :first-child { flex: 1 1 300px; max-width: 400px; }
.mbf-geschichte > :last-child { flex: 2 1 560px; }
.mbf-geschichte .mbf-h2 { margin-bottom: 24px; }
.mbf-geschichte p:last-child { margin-bottom: 0; }
.mbf-werte h2 { margin: 0 0 40px; font-size: 40px; line-height: 1.15; text-align: center; }
.mbf-werte .mbf-label { margin-bottom: 8px; color: var(--mbf-champagne); }
.mbf-werte .mbf-h3 { margin-bottom: 8px; }
.mbf-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.mbf-zahlen p { margin: 0; }
.mbf-zahlen__zahl { font-family: var(--mbf-font-display); font-weight: 500; font-size: clamp(40px, 3.9vw, 56px); line-height: 1.1; color: var(--mbf-ink); }

/* ---------- Textseiten und Block-Inhalte ---------- */
.mbf-seite { padding: 64px 0 var(--mbf-section-y); }
.mbf-seite__spalte { max-width: 760px; margin: 0 auto; }
.mbf-seite--breit .mbf-seite__spalte { max-width: none; }
.mbf-seite h1 { margin: 0 0 28px; font-size: clamp(36px, 3.9vw, var(--mbf-h1)); line-height: 1.1; }
.mbf-inhalt > *:first-child { margin-top: 0; }
.mbf-inhalt > *:last-child { margin-bottom: 0; }
.mbf-inhalt h2:where(:not(.phs-ablauf *)) { margin: 48px 0 12px; font-size: 32px; line-height: 1.2; }
.mbf-inhalt h3:where(:not(.phs-ablauf *)) { margin: 32px 0 8px; font-size: var(--mbf-h3); line-height: 1.2; }
.mbf-inhalt h4 { margin: 24px 0 6px; font-family: var(--mbf-font-text); font-size: var(--mbf-copy); font-weight: 700; line-height: 1.6; }
/* Der Ablauf-Block des Konfigurator-Plugins (.phs-ablauf) bringt eigene Listen- und Überschriftenstile mit.
   :where hält die Spezifität gleich, damit spätere Regeln (z. B. Bestellübersicht) weiter greifen. */
.mbf-inhalt ul:where(:not(.phs-ablauf, .phs-ablauf *)), .mbf-inhalt ol:where(:not(.phs-ablauf, .phs-ablauf *)) { margin: 0 0 16px; padding-left: 22px; }
.mbf-inhalt li:where(:not(.phs-ablauf, .phs-ablauf *)) { margin-bottom: 6px; }
.mbf-inhalt img { border-radius: var(--mbf-radius-card); }
.mbf-inhalt figure { margin: 24px 0; }
.mbf-inhalt figcaption { margin-top: 8px; color: var(--mbf-grey); }
.mbf-inhalt blockquote { margin: 24px 0; padding: 20px 24px; border-radius: var(--mbf-radius-tile); background: var(--mbf-cream); color: var(--mbf-ink); }
.mbf-inhalt blockquote > :last-child { margin-bottom: 0; }
.mbf-inhalt table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.mbf-inhalt th, .mbf-inhalt td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--mbf-line); text-align: left; vertical-align: top; }
.mbf-inhalt .has-large-font-size, .mbf-inhalt .mbf-lead { font-size: var(--mbf-lead); }
.mbf-inhalt .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.mbf-inhalt .wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; margin: 24px 0; }
.mbf-inhalt .wp-block-column { flex: 1 1 280px; min-width: 0; }
.mbf-inhalt .wp-block-details summary { font-weight: 700; }
.mbf-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mbf-line); }
.mbf-liste li { padding: 20px 0; border-bottom: 1px solid var(--mbf-line); }
.mbf-liste h2 { margin: 0 0 4px; font-size: var(--mbf-h3); }
.mbf-liste h2 a { text-decoration: none; }
.mbf-liste p { margin: 0; }
.mbf-seitenzahlen, .woocommerce-pagination { margin-top: 48px; }
.mbf-seitenzahlen .nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.page-numbers:not(ul) { display: inline-flex; align-items: center; justify-content: center; min-width: var(--mbf-touch); min-height: var(--mbf-touch); padding: 0 14px; border: 2px solid var(--mbf-line); border-radius: var(--mbf-radius-pill); font-weight: 600; text-decoration: none; color: var(--mbf-ink); }
.page-numbers.current { border-color: var(--mbf-ink); background: var(--mbf-ink); color: var(--mbf-white); font-weight: 700; }
a.page-numbers:hover { border-color: var(--mbf-ink); }
.page-numbers.dots { border-color: transparent; }

/* ---------- Formulare (auch WooCommerce und Germanized) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], textarea, select, .select2-container.select2-container--default .select2-selection--single { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--mbf-input-kante); border-radius: var(--mbf-radius-input); background: var(--mbf-white); color: var(--mbf-ink); font-family: var(--mbf-font-text); font-size: var(--mbf-copy); line-height: 1.5; }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238C6B3F' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; margin: 0 8px 0 0; accent-color: var(--mbf-ink); vertical-align: -4px; flex: 0 0 auto; }
::placeholder { color: var(--mbf-grey); opacity: 1; }
.select2-container.select2-container--default .select2-selection--single { display: flex; align-items: center; height: auto; }
.select2-container.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.5; color: var(--mbf-ink); }
.select2-container.select2-container--default .select2-selection--single .select2-selection__arrow { top: 0; right: 12px; height: 100%; }
.select2-dropdown { border-color: var(--mbf-input); border-radius: var(--mbf-radius-input); overflow: hidden; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--mbf-ink); color: var(--mbf-white); }
.select2-search--dropdown .select2-search__field { min-height: 44px; }

/* ---------- WooCommerce allgemein (eigene Styles, WooCommerce-CSS wird nicht geladen) ---------- */
.woocommerce .button, .woocommerce-page .button, .woocommerce button[type="submit"], .wp-element-button, .wc-block-components-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 30px; border: 2px solid var(--mbf-ink); border-radius: var(--mbf-radius-pill); background: var(--mbf-ink); color: var(--mbf-white); font-family: var(--mbf-font-text); font-size: var(--mbf-copy); font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; }
.woocommerce .button:hover, .woocommerce-page .button:hover, .woocommerce button[type="submit"]:hover { background: #453C37; border-color: #453C37; color: var(--mbf-white); }
.woocommerce .button:disabled, .woocommerce .button.disabled, .woocommerce button[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.mbf-inhalt .woocommerce h2:where(:not(.phs-ablauf *)), .mbf-inhalt .woocommerce h3:where(:not(.phs-ablauf *)), .mbf-inhalt form.woocommerce-checkout h3 { margin: 0 0 16px; font-size: var(--mbf-h3); line-height: 1.2; }
/* Germanized-Widerrufsbutton (Pflicht) dezent unter dem Footer */
.eu-owb-order-withdraw-from-contract-button { margin: 0; padding: 0 var(--mbf-gutter) 32px; background: var(--mbf-cream); text-align: center; }
.eu-owb-order-withdraw-from-contract-button .button { min-height: var(--mbf-touch); padding: 4px 22px; background: none; color: var(--mbf-ink); }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .cart-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; list-style: none; margin: 0 0 24px; padding: 18px 24px; border: 1px solid var(--mbf-line-warm); border-radius: var(--mbf-radius-tile); background: var(--mbf-cream); color: var(--mbf-ink); }
.woocommerce-error { flex-direction: column; align-items: flex-start; border: 2px solid #B3261E; background: #FDF3F2; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { order: 2; min-height: var(--mbf-touch); padding: 4px 22px; background: none; color: var(--mbf-ink); }
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--mbf-ink); color: var(--mbf-white); }
.mbf-hinweise { padding-top: 24px; }
.mbf-hinweise:empty, .mbf-hinweise .woocommerce-notices-wrapper:empty { display: none; padding: 0; }
.woocommerce form .form-row, .woocommerce-page form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row > label, .woocommerce form > p > label, .woocommerce-form-row > label, .woocommerce table.shop_table th, .woocommerce-page table.shop_table th, .woocommerce form.login > p > label, .woocommerce-address-fields label, .woocommerce-EditAccountForm legend { display: block; margin: 0 0 6px; font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row label.woocommerce-form__label-for-checkbox, .woocommerce form label.inline, .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; margin: 0; font-size: var(--mbf-copy); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mbf-text); line-height: 1.5; }
.woocommerce form .form-row label.checkbox input, .woocommerce-form__label-for-checkbox input { margin-top: 2px; }
.woocommerce form .required { color: #B3261E; text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid input, .woocommerce form .form-row.woocommerce-invalid select, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: #B3261E; }
.woocommerce form .checkout-inline-error-message { margin: 6px 0 0; color: #B3261E; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.woocommerce form .form-row-first { margin-right: 12px; }
.woocommerce form .form-row-wide { clear: both; }
.woocommerce fieldset { margin: 24px 0; padding: 0; border: 0; }
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .show-password-input { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; }
.woocommerce .show-password-input { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='1.8'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center no-repeat; }
.woocommerce-password-strength { margin-top: 6px; font-weight: 700; }
.woocommerce .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.woocommerce .clear { clear: both; }

/* Tabellen */
/* Germanized färbt Tabellen in Kasse und Bestelldetails grau (#eee): hier gibt es keine Flächen in Tabellen */
.woocommerce table.shop_table, .woocommerce-page table.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 24px; background-color: transparent; }
.woocommerce table.shop_table tr, .woocommerce table.shop_table th, .woocommerce table.shop_table td { background-color: transparent; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--mbf-line); text-align: left; vertical-align: top; }
.woocommerce table.shop_table th:last-child, .woocommerce table.shop_table td:last-child { padding-right: 0; text-align: right; }
.woocommerce table.shop_table th { display: table-cell; margin: 0; }
/* „Bearbeiten“ neben dem Produkttitel: kleine Pill mit Stift-Icon (Markup vom Konfigurator-Plugin) */
.woocommerce table.shop_table td.product-name .phs-bearbeiten { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; margin: 10px 0 6px; padding: 0 12px; border: 1px solid var(--mbf-line-warm); border-radius: var(--mbf-radius-pill); background: var(--mbf-cream); color: var(--mbf-ink); font-family: var(--mbf-font-text); font-size: var(--mbf-label); font-weight: 600; letter-spacing: .02em; line-height: 1; text-transform: none; text-decoration: none; white-space: nowrap; vertical-align: 4px; }
.woocommerce table.shop_table td.product-name .phs-bearbeiten::after { content: ""; position: absolute; inset: -7px 0; } /* Trefferfläche 44 px */
.woocommerce table.shop_table td.product-name .phs-bearbeiten:hover { border-color: var(--mbf-ink); color: var(--mbf-ink); }
.woocommerce table.shop_table td.product-name .phs-bearbeiten svg { flex: 0 0 auto; width: 13px; height: 13px; }
.woocommerce table.shop_table td.product-name > a:first-child {font-family: var(--mbf-font-display); font-weight: 500; font-size: 24px; line-height: 1.25; text-decoration: none; }
.woocommerce table.shop_table .product-thumbnail img { display: block; width: 96px; height: 96px; object-fit: contain; border-radius: var(--mbf-radius-tile); background: var(--mbf-white); filter: var(--mbf-product-img-filter); }
.woocommerce a.remove { display: inline-flex; align-items: center; justify-content: center; width: var(--mbf-touch); height: var(--mbf-touch); border-radius: 50%; text-decoration: none; color: var(--mbf-grey); }
.woocommerce a.remove:hover { background: var(--mbf-cream); color: var(--mbf-ink); }
.woocommerce table.shop_table .amount { color: var(--mbf-ink); font-weight: 700; white-space: nowrap; }
.woocommerce table.shop_table tfoot th, .woocommerce .cart_totals table th { vertical-align: middle; }
.woocommerce table.shop_table .order-total .amount { font-family: var(--mbf-font-display); font-weight: 500; font-size: 32px; line-height: 1.2; }
.woocommerce .quantity { display: inline-block; }
.woocommerce .quantity .qty { width: 84px; text-align: center; }
/* Mengen-Stepper (mbf.js setzt Minus und Plus um das Feld): eine Pill, das Zahlenfeld ohne eigenen Rahmen */
.woocommerce .quantity.mbf-stepper { display: inline-flex; align-items: center; border: 1px solid var(--mbf-input-kante); border-radius: var(--mbf-radius-pill); background: var(--mbf-white); vertical-align: top; }
.mbf-stepper .qty, .woocommerce .mbf-stepper .qty { width: 44px; min-height: var(--mbf-touch); padding: 0; border: 0; border-radius: 0; background: none; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.mbf-stepper .qty::-webkit-outer-spin-button, .mbf-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mbf-stepper__knopf { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--mbf-touch); height: var(--mbf-touch); padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mbf-ink); }
.mbf-stepper__knopf:hover { background: var(--mbf-cream); }
.mbf-stepper__knopf:disabled { opacity: .35; background: none; cursor: default; }
/* Fokus im Zahlenfeld: die ganze Pill bekommt die ruhige Tinte-Kante, kein Kasten in der Pill */
.mbf-stepper:has(.qty:focus-visible) { outline: 2px solid var(--mbf-ink); outline-offset: -2px; }
.mbf-stepper .qty:focus-visible { outline: 0 !important; box-shadow: none !important; }
/* Ladezustand, während WooCommerce Warenkorb oder Kasse per AJAX neu rechnet */
.woocommerce .blockUI.blockOverlay::before { content: ""; position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid var(--mbf-rose); border-top-color: var(--mbf-ink); border-radius: 50%; animation: mbf-dreht .8s linear infinite; }
@keyframes mbf-dreht { to { transform: rotate(360deg); } }

/* Warenkorb-Tabelle als Raster: Bild, Name mit Angaben, Preis, Menge mit Papierkorb daneben, Summe */
.woocommerce table.cart, .woocommerce table.cart thead, .woocommerce table.cart tbody { display: block; }
.woocommerce table.cart tr { display: grid; grid-template-columns: 96px minmax(0, 1fr) 84px auto 44px 124px; grid-template-areas: "bild name preis menge weg summe"; column-gap: 12px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--mbf-line); }
.woocommerce table.cart thead tr { padding: 0 0 12px; align-items: end; }
.woocommerce table.cart th, .woocommerce table.cart td { display: block; min-width: 0; padding: 0; border: 0; }
.woocommerce table.cart .product-thumbnail { grid-area: bild; }
.woocommerce table.cart .product-name { grid-area: name; text-align: left; }
.woocommerce table.cart .product-price { grid-area: preis; text-align: right; }
.woocommerce table.cart .product-quantity { grid-area: menge; }
.woocommerce table.cart .product-remove { grid-area: weg; }
.woocommerce table.cart .product-subtotal { grid-area: summe; text-align: right; }
.woocommerce table.cart thead .product-name { grid-column: 1 / 3; }
.woocommerce table.cart thead .product-quantity { grid-column: 4 / 6; }
.woocommerce table.cart thead .product-thumbnail, .woocommerce table.cart thead .product-remove { display: none; }
.woocommerce table.cart td.product-price, .woocommerce table.cart td.product-subtotal { padding-top: 10px; }
.woocommerce table.cart td.product-name { padding-top: 6px; }
.woocommerce table.cart td.actions { grid-column: 1 / -1; }
.woocommerce table.cart tr:last-child { border-bottom: 0; }
/* Der Button bleibt ohne JavaScript als Rückfall stehen. Mit JavaScript aktualisiert sich der Warenkorb von selbst. */
.mbf-js .woocommerce-cart-form [name="update_cart"] { display: none; }

/* Positions-Meta (Konfiguration) als kleine saubere Liste */
dl.variation, .wc-item-meta { display: flow-root; list-style: none; margin: 8px 0 0; padding: 0; line-height: 1.45; text-align: left; font-weight: 400; color: var(--mbf-text); }
dl.variation dt, .wc-item-meta .wc-item-meta-label { display: inline; margin: 0; font-weight: 600; color: var(--mbf-ink); }
dl.variation dd, dl.variation dd p, .wc-item-meta p { display: inline; margin: 0; }
dl.variation dd::after { content: "\A"; white-space: pre; }
.wc-item-meta li { margin: 0 0 2px; }
.mbf-inhalt ul.wc-item-meta { margin: 8px 0 0; padding-left: 0; }
dl.variation, dl.variation * { word-break: normal; overflow-wrap: break-word; }
.woocommerce-form-login__submit { margin-top: 12px; }

/* ---------- Shop-Archiv ---------- */
.mbf-shop { padding-top: 48px; padding-bottom: var(--mbf-section-y); }
.mbf-shop__leer { margin: 0; }
.mbf-hilfe { padding-bottom: var(--mbf-section-y); }

/* ---------- Produktseite ---------- */
.mbf-produkt__krumen { padding-top: 24px; }
.mbf-produkt { padding-top: 24px; padding-bottom: var(--mbf-section-y); }
.mbf-produkt__spalten { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.mbf-galerie { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mbf-galerie__haupt { border-radius: var(--mbf-radius-card); }
/* Solange Galerie und Konfigurator nebeneinander stehen, läuft die Galerie beim Scrollen mit. */
/* Auf niedrigen Bildschirmen wird die Galerie schmaler, damit Hauptbild und Vorschaubilder ganz ins Fenster passen. */
@media (min-width: 1200px) { .mbf-galerie { position: sticky; top: calc(30px + var(--wp-admin--admin-bar--height, 0px)); align-self: flex-start; max-width: max(360px, calc((100vh - 66px - var(--wp-admin--admin-bar--height, 0px)) / 1.26)); } }
.mbf-galerie__daumen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.mbf-galerie__daumen button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 16px; background: none; overflow: hidden; }
.mbf-galerie__daumen button[aria-current="true"] { border-color: var(--mbf-ink); }
.mbf-galerie__daumen img { border-radius: 14px; }
.mbf-produkt__info { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.mbf-produkt__info > * { margin-top: 0; margin-bottom: 0; }
.mbf-produkt__kopf .mbf-eyebrow { font-size: 28px; }
.mbf-produkt__kopf h1 { margin: 0 0 8px; font-size: clamp(36px, 3.62vw, 52px); line-height: 1.05; }
.mbf-produkt__kopf .mbf-lead { margin-bottom: 16px; }
.mbf-produkt__kopf .mbf-lead p { margin: 0 0 8px; }
.mbf-produkt__kopf .mbf-lead p:last-child { margin: 0; }
.mbf-preiszeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; color: var(--mbf-ink); }
.mbf-preiszeile [data-phs-livepreis] { font-family: var(--mbf-font-display); font-weight: 500; font-size: 36px; line-height: 1.3; }
.mbf-preiszeile del { font-size: var(--mbf-lead); color: var(--mbf-grey); }
.mbf-preiszeile ins { text-decoration: none; }
.mbf-preiszeile .legal-price-info, .mbf-preiszeile .wc-gzd-additional-info, .mbf-preiszeile .wc-gzd-additional-info span { font-size: var(--mbf-copy); color: var(--mbf-ink); }
.mbf-preiszeile .legal-price-info a, .mbf-preiszeile .wc-gzd-additional-info a { color: var(--mbf-ink); }
.mbf-produkt__info .legal-price-info, .mbf-produkt__info > .wc-gzd-additional-info, .mbf-produkt__info > .delivery-time-info { margin-top: -20px; }
.mbf-produkt__info form.cart:not(.phs-form) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 24px; border: 1px solid var(--mbf-line); border-radius: 20px; }
.mbf-produkt__info form.cart:not(.phs-form) .quantity .qty { min-height: 58px; }
.mbf-produkt__info form.cart:not(.phs-form) .single_add_to_cart_button { flex: 1 1 220px; min-height: 58px; }
.mbf-produkt__info form.cart:not(.phs-form) table.variations { width: 100%; border-collapse: collapse; }
.mbf-produkt__info form.cart:not(.phs-form) table.variations th, .mbf-produkt__info form.cart:not(.phs-form) table.variations td { display: block; padding: 0 0 6px; text-align: left; }
.mbf-produkt__info form.cart:not(.phs-form) table.variations label { font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.mbf-produkt__info form.cart:not(.phs-form) .reset_variations { display: inline-block; margin-top: 6px; }
.mbf-produkt__info form.variations_form, .mbf-produkt__info .single_variation_wrap { width: 100%; }
.mbf-produkt__info .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.mbf-produkt__info .woocommerce-variation-price { margin: 8px 0; font-weight: 700; color: var(--mbf-ink); }
.mbf-produkt__info .stock { margin: 0; font-weight: 700; }
.mbf-produkt__info .out-of-stock { color: #B3261E; }
.mbf-produkt__info form.cart:not(.phs-form) .mbf-stepper__knopf { width: 48px; height: 58px; }
/* Lightbox-Gerüst von WooCommerce: wird nicht genutzt (eigene Galerie) und stünde ohne dessen CSS sichtbar unter dem Footer */
.pswp { display: none; }
/* shortcut: der Variantenpreis unter dem Regler ist ausgeblendet, weil der große Betrag ihn schon zeigt.
   Wieder einblenden, falls es je ein Betrags-Attribut gibt, dessen Preis vom Betrag abweicht. */
.mbf-regler ~ .single_variation_wrap .woocommerce-variation-price { display: none; }
/* Betrags-Regler (mbf.js, ersetzt sichtbar das Auswahlfeld): Optik wie der Längen-Regler im Konfigurator */
.mbf-regler { width: 100%; }
.mbf-regler__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.mbf-regler__kopf label { font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.mbf-regler__wert { font-family: var(--mbf-font-display); font-weight: 500; font-size: 36px; line-height: 1; color: var(--mbf-ink); }
/* Das Eingabeelement ist 44 px hoch (Touch-Ziel), die sichtbare Spur 6 px */
.mbf-regler input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--mbf-touch); margin: 0; padding: 0; border: 0; background: transparent; outline: none; cursor: pointer; --mbf-spur: linear-gradient(to right, var(--mbf-rose) 0, var(--mbf-rose) var(--mbf-fuell, 0%), var(--mbf-line) var(--mbf-fuell, 0%), var(--mbf-line) 100%); }
.mbf-regler input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 50px; background: var(--mbf-spur); }
.mbf-regler input[type="range"]::-moz-range-track { height: 6px; border-radius: 50px; background: var(--mbf-spur); }
.mbf-regler input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: -13px; border-radius: 50%; background: var(--mbf-white); border: 2px solid var(--mbf-ink); box-shadow: 0 2px 6px rgba(42, 37, 34, .2); cursor: grab; }
.mbf-regler input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--mbf-white); border: 2px solid var(--mbf-ink); box-shadow: 0 2px 6px rgba(42, 37, 34, .2); cursor: grab; }
/* Tastaturfokus sitzt am Griff, nicht als Kasten um die ganze Leiste */
.mbf-regler input[type="range"]:focus-visible { outline: 0 !important; box-shadow: none !important; }
.mbf-regler input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--mbf-rose); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mbf-ink); }
.mbf-regler input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--mbf-rose); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mbf-ink); }
.mbf-regler__skala { display: flex; justify-content: space-between; margin-top: 6px; font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.mbf-produkttext > details:first-child, .mbf-produkttext > .wp-block-details:first-child { border-top: 1px solid var(--mbf-line); }
.mbf-straehne { padding: 80px 0; }
.mbf-straehne h2 { margin: 0 0 8px; font-size: 40px; line-height: 1.1; }
.mbf-straehne .mbf-lead { margin-bottom: 32px; }

/* ---------- Warenkorb ---------- */
.woocommerce-cart .mbf-inhalt > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 0 56px; align-items: start; }
.woocommerce-cart .mbf-inhalt > .woocommerce > * { grid-column: 1 / -1; }
.woocommerce-cart .mbf-inhalt > .woocommerce > .woocommerce-cart-form { grid-column: 1; }
.woocommerce-cart .mbf-inhalt > .woocommerce > .cart-collaterals { grid-column: 2; }
.woocommerce-cart td.actions { padding-top: 24px; text-align: left !important; }
.woocommerce-cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.woocommerce-cart td.actions .coupon input { flex: 1 1 180px; width: auto; }
.woocommerce-cart td.actions .button, .woocommerce .return-to-shop .button { background: none; color: var(--mbf-ink); }
.woocommerce-cart td.actions .button:hover, .woocommerce .return-to-shop .button:hover { background: var(--mbf-ink); color: var(--mbf-white); }
.cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details { padding: 28px; border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-card); background: var(--mbf-cream); }
.cart-collaterals .cart_totals table { margin-bottom: 16px; }
.cart-collaterals .shipping ul, #order_review .shipping ul, ul.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { margin: 6px 0 0; }
.wc-proceed-to-checkout .button, #place_order { width: 100%; min-height: 58px; }
.cross-sells { display: none; }

/* ---------- Kasse ---------- */
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { grid-column: 1 / -1; }
form.checkout_coupon, form.woocommerce-form-login { margin: 0 0 24px; padding: 24px; border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-card); }
form.checkout_coupon .form-row { display: inline-block; vertical-align: bottom; }
form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: 0 56px; align-items: start; }
form.woocommerce-checkout > * { grid-column: 1 / -1; }
form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: 2 / span 2; }
form.woocommerce-checkout > #order_review_heading { grid-column: 2; grid-row: 2; }
form.woocommerce-checkout > #order_review { grid-column: 2; grid-row: 3; }
form.woocommerce-checkout { grid-template-rows: auto auto 1fr; }
#customer_details .col-1, #customer_details .col-2 { margin-bottom: 24px; }
.woocommerce-additional-fields { margin-top: 32px; }
#ship-to-different-address { margin: 0 0 12px; font-family: var(--mbf-font-text); font-size: var(--mbf-copy); }
/* Bestellübersicht: je Position oben Bild, Name und Menge links, Preis rechts. Darunter die Angaben über die volle Breite.
   Die Tabelle wird dafür zeilenweise gestapelt, schmale Tabellenspalten gibt es nicht mehr. */
#order_review table.shop_table, #order_review table.shop_table tbody, #order_review table.shop_table tfoot, .cart_totals table.shop_table, .cart_totals table.shop_table tbody { display: block; }
#order_review table.shop_table thead { display: none; }
#order_review table.shop_table tr, .cart_totals table.shop_table tr { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--mbf-line-warm); }
#order_review table.shop_table tbody tr:first-child, .cart_totals table.shop_table tr:first-child { padding-top: 0; }
#order_review table.shop_table tfoot tr:last-child, .cart_totals table.shop_table tr:last-child { border-bottom: 0; }
#order_review table.shop_table th, #order_review table.shop_table td, .cart_totals table.shop_table th, .cart_totals table.shop_table td { display: block; min-width: 0; margin: 0; padding: 0; border: 0; text-align: left; }
#order_review table.shop_table tfoot td, .cart_totals table.shop_table td { margin-left: auto; text-align: right; }
#order_review table.shop_table td.product-name { flex: 1 1 100%; font-weight: 600; color: var(--mbf-ink); }
#order_review table.shop_table td.product-total { position: absolute; top: 36px; right: 0; width: auto; line-height: 24px; }
#order_review table.shop_table tbody tr:first-child td.product-total { top: 20px; }
#order_review .wc-gzd-cart-item-name-wrapper { display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0 0 8px; padding-right: 84px; }
#order_review .wc-gzd-cart-item-thumbnail { flex: 0 0 64px; float: none; width: 64px; max-width: none; margin: 0; }
/* Produktfoto auf sauberer weißer Kachel, damit es auf der Creme-Karte nicht grau wirkt */
#order_review .wc-gzd-cart-item-thumbnail img { display: block; width: 64px; height: 64px; object-fit: contain; padding: 4px; border: 1px solid var(--mbf-line-warm); border-radius: 12px; background: var(--mbf-white); }
#order_review table.shop_table td.product-name dl.variation, #order_review table.shop_table td.product-name .wc-gzd-cart-info { clear: both; margin-top: 4px; font-weight: 400; color: var(--mbf-text); }
#order_review table.shop_table td.product-name .wc-gzd-cart-info { color: var(--mbf-grey); }
/* Sendung in Kasse und Warenkorb: Bezeichnung oben, Versandart darunter über die volle Breite (bricht nicht mehr um) */
#order_review table.shop_table tr.shipping, .cart_totals table.shop_table tr.shipping { display: block; }
#order_review table.shop_table tr.shipping td, .cart_totals table.shop_table tr.shipping td { margin: 2px 0 0; text-align: left; }
tr.shipping ul#shipping_method label, tr.shipping .woocommerce-shipping-methods label { color: var(--mbf-ink); }
#payment { margin-top: 8px; }
#payment ul.payment_methods, ul.wc_payment_methods { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--mbf-line-warm); border-radius: var(--mbf-radius-tile); background: var(--mbf-white); }
#payment ul.payment_methods > li { padding: 14px 16px; border-bottom: 1px solid var(--mbf-line-warm); }
#payment ul.payment_methods > li:last-child { border-bottom: 0; }
#payment ul.payment_methods label { display: inline; font-weight: 700; color: var(--mbf-ink); }
#payment ul.payment_methods label img { max-height: 24px; width: auto; margin-left: 8px; vertical-align: middle; }
#payment .payment_box { margin-top: 8px; }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .place-order, .wc-gzd-order-submit .form-row { margin: 16px 0 0; padding: 0; }
.woocommerce-checkout .wc-gzd-checkbox-placeholder, .woocommerce-checkout p.legal, .woocommerce-checkout .form-row.checkbox-legal, .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 12px; }
.woocommerce-checkout .wc-gzd-order-submit { margin-top: 20px; }
.woocommerce-privacy-policy-text p { margin: 0 0 12px; }

/* Kasse: Hinweise unter Feldern, WhatsApp-Haken direkt unter der Telefonnummer, Vertrauenszeilen unter dem Knopf */
.woocommerce form .form-row .description { display: block; margin-top: 6px; font-size: var(--mbf-label); color: var(--mbf-grey); }
.woocommerce form .form-row.mbf-whatsapp { margin-top: -6px; }
.mbf-kasse-vertrauen { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--mbf-label); color: var(--mbf-grey); text-align: center; }
/* In der Kasse lenkt nichts ab: Das Hauptmenü ist ausgeblendet, Logo und Warenkorb bleiben. */
body.woocommerce-checkout:not(.woocommerce-order-received) .mbf-nav, body.woocommerce-checkout:not(.woocommerce-order-received) .mbf-menue-knopf { display: none; }

/* ---------- Danke-Seite und Bestellansicht ---------- */
.mbf-zahlung__daten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin: 0; }
.mbf-zahlung__daten div { padding: 14px 18px; border: 1px solid var(--mbf-line-warm); border-radius: var(--mbf-radius-tile); background: var(--mbf-white); }
.mbf-zahlung__daten dt { font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
.mbf-zahlung__daten dd { margin: 2px 0 0; font-weight: 600; color: var(--mbf-ink); overflow-wrap: anywhere; user-select: all; }
.woocommerce-order .woocommerce-thankyou-order-received { margin: 0 0 24px; font-size: var(--mbf-lead); color: var(--mbf-ink); }
ul.woocommerce-order-overview, ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; list-style: none; margin: 0 0 32px; padding: 0; }
ul.woocommerce-order-overview li, ul.order_details li { padding: 16px 20px; border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-tile); font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
ul.woocommerce-order-overview li strong, ul.order_details li strong { display: block; margin-top: 2px; font-size: var(--mbf-copy); letter-spacing: 0; text-transform: none; color: var(--mbf-ink); overflow-wrap: anywhere; }
.woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details, .woocommerce-bacs-bank-details { margin: 0 0 24px; }
.woocommerce-columns--addresses, .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.woocommerce-customer-details address, .woocommerce-Address address { line-height: 1.6; }
ul.wc-bacs-bank-details { list-style: none; margin: 0 0 16px; padding: 0; }

/* ---------- Mein Konto ---------- */
.woocommerce-account .mbf-inhalt > .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.woocommerce-account .mbf-inhalt > .woocommerce > * { grid-column: 1 / -1; }
.woocommerce-account .mbf-inhalt > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
.woocommerce-account .mbf-inhalt > .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: var(--mbf-touch); padding: 0 20px; border: 2px solid var(--mbf-line); border-radius: var(--mbf-radius-pill); font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { border-color: var(--mbf-ink); background: var(--mbf-ink); color: var(--mbf-white); }
.woocommerce-account .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.woocommerce-account form.login, .woocommerce-account form.register, .woocommerce-ResetPassword { max-width: 520px; padding: 28px; border: 1px solid var(--mbf-line); border-radius: var(--mbf-radius-card); }
.woocommerce-account .woocommerce-orders-table .button { min-height: var(--mbf-touch); padding: 4px 20px; margin: 2px 0 2px 6px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  :root { --mbf-section-y: 64px; }
  .mbf-js .mbf-menue-knopf { display: inline-flex; }
  .mbf-js .mbf-nav { display: none; order: 3; flex: 1 0 100%; }
  .mbf-js .mbf-nav.ist-offen { display: block; }
  .mbf-nav ul { flex-direction: column; gap: 0; padding: 8px 0; border-top: 1px solid var(--mbf-line); }
  .mbf-nav a { display: flex; align-items: center; min-height: var(--mbf-touch); }
  .mbf-zwei, .mbf-produkt__spalten { gap: 32px; }
  .mbf-hero { padding: 48px 0 56px; }
  .mbf-kopf, .mbf-kopf--hoch, .mbf-ueber-hero { padding: 48px 0; }
  .mbf-band, .mbf-band--hell { padding: 32px 24px; }
  .mbf-extras { gap: 48px; }
  .woocommerce-cart .mbf-inhalt > .woocommerce, form.woocommerce-checkout, .woocommerce-account .mbf-inhalt > .woocommerce { display: block; }
  .woocommerce-MyAccount-navigation { margin-bottom: 32px; }
  form.woocommerce-checkout > #order_review_heading { margin-top: 16px; }
}
@media (max-width: 640px) {
  .mbf-karte__text, .mbf-extra__text, .mbf-kachel, .phs-konfigurator { hyphens: auto; }
  .mbf-infoleiste ul { gap: 2px 20px; }
  .mbf-marke__script { font-size: 22px; }
  .mbf-marke__name { font-size: 28px; }
  .mbf-zwei > *, .mbf-hero .mbf-zwei > *, .mbf-gestalten .mbf-zwei > *, .mbf-einsenden > *, .mbf-ueber-hero .mbf-zwei > *, .mbf-geschichte > *, .mbf-galerie, .mbf-produkt__info, .mbf-faq > *, .mbf-extras__gruppe > *, .mbf-band > div { flex-basis: 100% !important; }
  .mbf-geschichte > :first-child { max-width: none; }
  .mbf-werte h2, .mbf-straehne h2, .mbf-extras__gruppe h2 { font-size: 32px; }
  .mbf-band h2 { font-size: 28px; }
  .mbf-btns .mbf-btn, .mbf-band .mbf-btn { width: 100%; }
  .mbf-box, .mbf-stimme, .mbf-adresskarte { padding: 24px; }
  .mbf-raster--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .mbf-raster--shop .mbf-karte__titel { font-size: 20px; }
  .mbf-raster--kat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .mbf-kachel span { font-size: 20px; }
  .mbf-extras__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mbf-rechner > div { padding: 16px 6px; }
  .mbf-rechner__wert { font-size: 24px; }
  .mbf-film { border-radius: 20px; }
  .mbf-film__play { width: 72px; height: 72px; }
  .mbf-film__label { left: 16px; bottom: 14px; }
  .mbf-film__label--rechts { left: auto; right: 16px; }
  .mbf-adresskarte address { font-size: 24px; }
  .mbf-pillleiste__innen { padding-top: 16px; padding-bottom: 16px; }
  .mbf-footer__recht { flex-direction: column; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { display: block; width: 100%; margin-right: 0; }
  /* Tabellen stapeln: jede Zelle eine Zeile mit Bezeichnung links */
  .woocommerce-account table.shop_table_responsive thead, .woocommerce table.cart thead { display: none; }
  .woocommerce-account table.shop_table_responsive tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--mbf-line); }
  .woocommerce-account table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 6px 0; border: 0; text-align: right; }
  .woocommerce-account table.shop_table_responsive td::before { content: attr(data-title); flex: 0 0 auto; font-size: var(--mbf-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbf-grey); }
  /* Warenkorb-Position: oben Bild und Name, darunter Stepper, Papierkorb und Summe in einer Zeile. Der Einzelpreis entfällt. */
  .woocommerce table.cart tr { grid-template-columns: 72px 56px 44px minmax(0, 1fr); grid-template-areas: "bild name name name" "menge menge weg summe"; gap: 14px 12px; padding: 16px 0; }
  .woocommerce table.cart td.product-price { display: none; }
  .woocommerce table.cart .product-thumbnail img { width: 72px; height: 72px; }
  .woocommerce table.cart td.product-name { padding-top: 0; }
  .woocommerce table.cart td.product-name > a:first-child { font-size: 22px; }
  .woocommerce table.cart td.product-subtotal { align-self: center; padding-top: 0; }
  .woocommerce-cart td.actions .button { width: 100%; }
  .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details { padding: 20px; }
  .mbf-produkt__info form.cart:not(.phs-form) { padding: 16px; }
}
