/* ============================================================
   Mailfried Landingpage — Designsystem (WordPress-Block-Theme)
   Farben und Motive folgen dem 3angular-Branding:
   Siegelrot #640000, Tinte #111111, Bleistift #555555,
   Karton #F5F2F2 (Zebra), Mono-Akzente in Rot.
   Grün/Bernstein sind Funktionsfarben der Status-Chips — sie spiegeln
   die Statusmarkierungen des Produkts („erledigt", „wartet") und sind
   bewusst nicht Teil der Markenpalette.
   Schriften lädt WordPress aus der theme.json (fontFace).
   ============================================================ */

:root {
  --mf-rot: #640000;
  --mf-rot-dunkel: #470000;
  --mf-tinte: #111111;
  --mf-grau: #555555;
  --mf-papier: #ffffff;
  --mf-karton: #f5f2f2;
  --mf-linie: #e4dcdc;
  --mf-gruen: #1e6b40;
  --mf-gruen-fond: #e8f2ec;
  --mf-bernstein: #8a5a00;
  --mf-bernstein-fond: #f7efdd;
  --mf-rot-fond: #f6e9e9;
  --mf-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mf-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mf-mono: 'IBM Plex Mono', 'Consolas', ui-monospace, monospace;
}

/* ---------- Grundlagen ---------- */

body.mf {
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden: erzeugt keinen Scroll-Container, position:sticky
     der Navigation bleibt intakt */
  overflow-x: clip;
}

.mf ::selection { background: var(--mf-rot); color: #fff; }

.mf a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.mf :focus-visible {
  outline: 3px solid var(--mf-rot);
  outline-offset: 2px;
}

.mf-section { padding: 5.5rem 2rem; margin-top: 0 !important; }

/* Anker-Sprünge landen unterhalb der klebenden Navigationsleiste */
.mf-section[id] { scroll-margin-top: 4rem; }
.mf-section--karton { background: var(--mf-karton); }
.mf-section--dunkel { background: var(--mf-tinte); color: #d9d4d4; }

@media (max-width: 767px) {
  .mf-section { padding: 3.5rem 1.25rem; }
}

/* Eyebrow: Mono-Zeile in Siegelrot (Motiv aus den 3a-Dokumenten:
   Code-Auszeichnung in Akzentrot) */
.mf-eyebrow {
  font-family: var(--mf-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-rot);
  margin-bottom: 1rem;
}

.mf-section--dunkel .mf-eyebrow { color: #d98f8f; }

/* H2 mit kurzem rotem Strich darunter — Überschriften-Motiv der
   3a-Geschäftsdokumente */
.mf-h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-top: 0;
  margin-bottom: 1rem;
}

.mf-h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  background: var(--mf-rot);
  margin-top: 0.9rem;
}

.mf-h2.has-text-align-center::after { margin-left: auto; margin-right: auto; }

.mf-section--dunkel .mf-h2 { color: #fff; }

.mf-lead {
  color: var(--mf-grau);
  font-size: 1.125rem;
  max-width: 44rem;
  /* Linksbündig an der Inhaltsspalte ausrichten: das Constrained-Layout
     zentriert schmale Kinder mit margin:auto !important — dieses Margin
     setzt die Box stattdessen an die linke Kante der Inhaltsspalte
     (auf schmalen Viewports ergibt der calc-Ausdruck 0) */
  margin-left: calc((100% - min(100%, var(--wp--style--global--content-size, 1200px))) / 2) !important;
  margin-right: auto !important;
}

.mf-lead.has-text-align-center { margin-left: auto !important; margin-right: auto !important; }

.mf-abstand { margin-bottom: 3rem !important; }

/* Gestapelte Spaltenreihen (Core-Breakpoint 781px) brauchen keinen
   zusätzlichen Reihenabstand — sonst klafft zwischen den Karten der
   ersten und zweiten Reihe eine größere Lücke als zwischen den übrigen */
@media (max-width: 781px) {
  .mf .wp-block-columns.mf-abstand { margin-bottom: 0 !important; }
}

/* ---------- Navigation ---------- */

/* Sticky liegt auf dem Template-Part-Wrapper: position:sticky haftet nur
   innerhalb des Elternelements, und der Wrapper ist genau so hoch wie die
   Nav selbst — auf .mf-nav wäre der Effekt wirkungslos */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

.mf-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mf-linie);
}

.mf-nav-innen {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mf-marke {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mf-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--mf-tinte);
  text-decoration: none;
}

.mf-marke img { height: 2rem; width: auto; }

.mf-nav-liste {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mf-nav-liste a {
  color: var(--mf-tinte);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.mf-nav-liste a:hover { color: var(--mf-rot); }

/* Scroll-Spy: Menüpunkt der Sektion, die gerade im Viewport liegt */
.mf-nav-liste a.aktiv {
  color: var(--mf-rot);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Luft zwischen letztem Menüpunkt und dem Demo-Button */
@media (min-width: 992px) {
  .mf-nav-liste .wp-block-button { margin-left: 1.25rem; }
}

.mf-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--mf-linie);
  border-radius: 0.375rem;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.mf-nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--mf-tinte);
  margin: 0.3rem 0;
}

@media (max-width: 991px) {
  /* Luft zwischen letztem Menüpunkt und dem Demo-Button */
@media (min-width: 992px) {
  .mf-nav-liste .wp-block-button { margin-left: 1.25rem; }
}

.mf-nav-toggle { display: block; }

  .mf-nav-liste {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 0.75rem;
  }

  .mf-nav-liste.offen { display: flex; }

  .mf-nav-liste a { padding: 0.6rem 0.25rem; }
}

/* ---------- Buttons (Core-Button-Block) ---------- */

.mf .wp-block-button__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mf-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.4rem;
  border-radius: 0.375rem;
  border: 1.5px solid transparent;
  background: var(--mf-rot);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mf .wp-block-button__link:hover { background: var(--mf-rot-dunkel); color: #fff; }

.mf .mf-btn--kontur .wp-block-button__link {
  border-color: var(--mf-tinte);
  color: var(--mf-tinte);
  background: transparent;
}

.mf .mf-btn--kontur .wp-block-button__link:hover {
  border-color: var(--mf-rot);
  color: var(--mf-rot);
  background: transparent;
}

.mf-section--dunkel .mf-btn--kontur .wp-block-button__link { border-color: #fff; color: #fff; }

.mf-nav .wp-block-button__link,
.mf-btn--klein .wp-block-button__link { font-size: 0.9rem; padding: 0.5rem 1rem; }

@media (max-width: 575px) {
  .mf .wp-block-buttons { width: 100%; }

  .mf .wp-block-button { width: 100%; }

  .mf .wp-block-button__link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Hero ---------- */

.mf-hero { padding: 5rem 2rem 5.5rem; }

@media (max-width: 767px) {
  .mf-hero { padding: 2rem 1.25rem 3.5rem; }
}

.mf-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin: 0 0 1.25rem;
}

.mf-hero h1 .mf-hero-akzent { color: var(--mf-rot); }

.mf-hero-vertrauen {
  font-family: var(--mf-mono);
  font-size: 0.78rem;
  color: var(--mf-grau);
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
}

.mf-hero-vertrauen span { white-space: nowrap; }

/* ---------- Vorgang (E-Mail-Thread-Mock) ---------- */

/* Das WordPress-Fluss-Layout fügt zwischen Blöcken einen Standardabstand
   ein (margin-block-start) — innerhalb der gestalteten Schaubilder setzen
   die Komponenten ihre Abstände selbst */
.mf-vorgang > * + *,
.mf-vorgang .wp-block-group > * + *,
.mf-einladung > * + *,
.mf-einladung .wp-block-group > * + *,
.mf-compose > * + *,
.mf-compose .wp-block-group > * + *,
.mf-kontakt-daten > * + * { margin-block-start: 0; }

.mf-vorgang {
  background: var(--mf-karton);
  border: 1px solid var(--mf-linie);
  border-radius: 0.75rem;
  padding: 1.1rem;
  box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.18);
}

.mf-vorgang-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0.35rem 0.85rem;
  flex-wrap: wrap;
}

.mf-vorgang-postfach {
  font-family: var(--mf-mono);
  font-size: 0.8rem;
  color: var(--mf-grau);
}

.mf-mail {
  background: #fff;
  border: 1px solid var(--mf-linie);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.mf-mail--mailfried { border-left: 3px solid var(--mf-rot); }

.mf-mail-kopf {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.mf-avatar {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--mf-linie);
  color: var(--mf-tinte);
  font-family: var(--mf-display);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mf-avatar--rot { background: var(--mf-rot); }

/* Spezifischer als „.mf-mail p" — der Avatar ist seit dem Umbau auf
   native Blöcke ein Absatz */
.mf-mail p.mf-avatar--rot,
.mf-avatar--rot { color: #fff; }

.mf-vorgang p { margin: 0; }

.mf-mail-meta { line-height: 1.3; }
.mf-mail-name { font-size: 0.86rem; font-weight: 600; }
.mf-mail-zeit { font-size: 0.74rem; color: var(--mf-grau); }

.mf-mail p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--mf-tinte);
}

/* Aufgabenprotokoll-Zeile zwischen den Mails */
.mf-protokoll {
  font-family: var(--mf-mono);
  font-size: 0.74rem;
  color: var(--mf-grau);
  padding: 0.1rem 0.5rem 0.75rem;
}

.mf-protokoll code {
  font-family: inherit;
  color: var(--mf-rot);
  background: none;
  padding: 0;
  font-size: inherit;
}

.mf-protokoll .mf-ok { color: var(--mf-gruen); }

/* Status-Chips — die Statusmarkierungen aus dem Produkt */
.mf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mf-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.6rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.mf-chip--erledigt { background: var(--mf-gruen-fond); color: var(--mf-gruen); }
.mf-chip--wartet { background: var(--mf-bernstein-fond); color: var(--mf-bernstein); }
.mf-chip--uebernehmen { background: var(--mf-rot-fond); color: var(--mf-rot); }

/* Einblende-Animationen */
@media (prefers-reduced-motion: no-preference) {
  /* Nur im Frontend (body.mf) — im Editor soll nichts animieren */
  .mf .mf-vorgang > * {
    opacity: 0;
    transform: translateY(10px);
    animation: mf-einblenden 0.45s ease forwards;
  }

  .mf .mf-vorgang > :nth-child(1),
  .mf .mf-vorgang > :nth-child(2) { animation-delay: 0.25s; }
  .mf .mf-vorgang > :nth-child(3) { animation-delay: 0.85s; }
  .mf .mf-vorgang > :nth-child(4) { animation-delay: 1.45s; }
  .mf .mf-vorgang > :nth-child(5) { animation-delay: 2.05s; }
  .mf .mf-vorgang > :nth-child(6) { animation-delay: 2.65s; }

  /* Nur im Frontend (body.mf): im Block-Editor läuft das Reveal-Skript
     nicht — ohne Scoping blieben die Elemente dort unsichtbar */
  .mf .mf-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .mf .mf-reveal.mf-sichtbar { opacity: 1; transform: none; }
}

@keyframes mf-einblenden {
  to { opacity: 1; transform: none; }
}

/* ---------- Ablauf (4 Schritte) ---------- */

.mf-schritt {
  border-top: 3px solid var(--mf-linie);
  padding-top: 1.25rem;
  height: 100%;
}

.mf-schritt-nr {
  font-family: var(--mf-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mf-rot);
  display: block;
  margin-bottom: 0.5rem;
}

.mf-schritt h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }

.mf-schritt p { color: var(--mf-grau); font-size: 0.95rem; margin: 0; }

/* ---------- Vergleichstabelle (Core-Table-Block, Brand-Tabellenstil) ---------- */

.mf-tabelle { margin: 0; }

.mf-tabelle table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--mf-linie);
  font-size: 0.95rem;
}

/* Im gestapelten Mobil-Modus gilt width:100% auf den Zellen — das Padding
   muss in diese Breite eingerechnet werden, sonst läuft die Tabelle über */
.mf-tabelle table,
.mf-tabelle th,
.mf-tabelle td { box-sizing: border-box; }

/* Der Core-Table-Block setzt thead { border-bottom: 3px solid } */
.mf-tabelle thead { border-bottom: none; }

.mf-tabelle th {
  background: var(--mf-tinte);
  color: #fff;
  font-family: var(--mf-display);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  border: none;
}

.mf-tabelle td {
  padding: 0.85rem 1.1rem;
  vertical-align: top;
  border: none;
  border-top: 1px solid var(--mf-linie);
  color: var(--mf-grau);
  width: 50%;
}

.mf-tabelle td:last-child { color: var(--mf-tinte); }

.mf-tabelle tbody tr:nth-child(even) { background: var(--mf-karton); }

/* Die „Mit Mailfried"-Spalte trägt die Markenfarbe: Kopfzelle in
   Siegelrot, darunter ein transparenter Rotschleier, durch den das
   Zebra-Muster sichtbar bleibt */
.mf-tabelle th:last-child { background: var(--mf-rot); }
.mf-tabelle td:last-child { background: rgba(100, 0, 0, 0.05); }

/* Auf schmalen Viewports stapeln sich die Spalten zu beschrifteten
   Kartenpaaren — nichts wird abgeschnitten, kein verstecktes Wischen */
@media (max-width: 575px) {
  .mf-tabelle thead { display: none; }
  .mf-tabelle table, .mf-tabelle tbody, .mf-tabelle tr, .mf-tabelle td { display: block; width: 100%; }
  .mf-tabelle tr { border-top: 3px solid var(--mf-tinte); }
  .mf-tabelle tr:first-child { border-top: none; }
  .mf-tabelle td { border-top: none; }
  .mf-tabelle td::before {
    display: block;
    font-family: var(--mf-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
  }
  .mf-tabelle td:first-child::before { content: "Heute"; color: var(--mf-grau); }
  .mf-tabelle td:last-child::before { content: "Mit Mailfried"; color: var(--mf-rot); }
}

/* ---------- Terminassistent ---------- */

.mf-punkte { list-style: none; padding: 0; margin: 0; }

.mf-punkte li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.85rem;
  color: var(--mf-grau);
}

.mf-punkte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.8rem;
  height: 0.3rem;
  background: var(--mf-rot);
}

.mf-punkte li strong { color: var(--mf-tinte); }

/* Kalendereinladungs-Karte */
.mf-einladung {
  background: #fff;
  border: 1px solid var(--mf-linie);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.18);
  max-width: 22rem;
}

.mf-einladung-kopf {
  background: var(--mf-rot);
  color: #fff;
  padding: 0.8rem 1.2rem;
  margin: 0;
  font-family: var(--mf-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mf-einladung-tag p { margin: 0; }

.mf-einladung-rumpf { padding: 1.2rem; }

.mf-einladung-datum {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.mf-einladung-tag {
  border: 1px solid var(--mf-linie);
  border-radius: 0.5rem;
  text-align: center;
  min-width: 3.6rem;
  overflow: hidden;
}

.mf-einladung-tag .mf-monat {
  display: block;
  background: var(--mf-karton);
  font-family: var(--mf-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mf-rot);
  padding: 0.15rem 0;
}

.mf-einladung-tag .mf-tag {
  display: block;
  font-family: var(--mf-display);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.1rem 0 0.2rem;
}

.mf-einladung h4 { font-size: 1.05rem; margin: 0 0 0.2rem; }

.mf-einladung-rumpf p { font-size: 0.85rem; color: var(--mf-grau); margin: 0; }

.mf-einladung-fuss {
  border-top: 1px solid var(--mf-linie);
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  color: var(--mf-grau);
}

.mf-einladung-fuss p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: inherit;
  color: inherit;
}

/* ---------- Branchen ---------- */

.mf-branche {
  background: #fff;
  border: 1px solid var(--mf-linie);
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
}

.mf-branche figure { margin: 0; }

.mf-branche img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  /* kräftig entsättigt, damit die Fotos die Rot/Schwarz-Palette nicht stören */
  filter: saturate(0.55);
}

.mf-branche-text { padding: 1.3rem 1.4rem 1.5rem; }

.mf-branche-text h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }

.mf-branche-text p { color: var(--mf-grau); font-size: 0.93rem; margin: 0; }

.mf-branchen-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.mf-branchen-chips p {
  border: 1px solid var(--mf-linie);
  background: #fff;
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  margin: 0 !important;
  font-size: 0.88rem;
  color: var(--mf-grau);
}

/* ---------- Datenschutz-Karten ---------- */

.mf-fakt {
  background: #fff;
  border: 1px solid var(--mf-linie);
  border-radius: 0.6rem;
  padding: 1.4rem 1.5rem;
  height: 100%;
}

.mf-fakt-titel {
  font-family: var(--mf-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mf-rot);
  display: block;
  margin: 0 0 0.55rem;
}

.mf-fakt p { color: var(--mf-grau); font-size: 0.93rem; margin: 0; }

/* ---------- Copilot-Band ---------- */

.mf-copilot p { color: #b9b1b1; }

.mf-copilot-punkt {
  border-top: 1px solid #3a3434;
  padding-top: 1.1rem;
  height: 100%;
}

.mf-copilot-punkt strong {
  color: #fff;
  font-family: var(--mf-display);
  font-size: 1.02rem;
  display: block;
  margin-bottom: 0.35rem;
}

.mf-copilot-punkt p { font-size: 0.92rem; margin: 0; }

/* ---------- Live-Demo (Compose-Mock) ---------- */

.mf-compose {
  background: #fff;
  border: 1px solid var(--mf-linie);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.2);
}

.mf-compose-kopf {
  background: var(--mf-karton);
  border-bottom: 1px solid var(--mf-linie);
  padding: 0.7rem 1.2rem;
  margin: 0;
  font-family: var(--mf-display);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}

/* Die drei Fensterpunkte: ein Kreis plus zwei Schatten-Kopien */
.mf-compose-kopf::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--mf-linie);
  box-shadow: 0.9rem 0 0 var(--mf-linie), 1.8rem 0 0 var(--mf-linie);
  margin-right: 2.3rem;
  flex-shrink: 0;
}

.mf-compose-zeile {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  margin: 0;
  border-bottom: 1px solid var(--mf-linie);
  font-size: 0.9rem;
  align-items: baseline;
}

/* Feldbeschriftungen als Pseudo-Elemente — unlöschbar für Redakteure */
.mf-compose-zeile::before {
  font-family: var(--mf-mono);
  /* explizit: die An-Zeile setzt 600 auf die ganze Zeile, das Label
     soll das nicht erben */
  font-weight: 400;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mf-grau);
  min-width: 4.2rem;
}

.mf-compose-zeile--an::before { content: "An"; }

.mf-compose-zeile--betreff::before { content: "Betreff"; }

.mf-compose-zeile--an {
  font-family: var(--mf-mono);
  font-size: 0.88rem;
  color: var(--mf-rot);
  font-weight: 600;
}

.mf-compose-rumpf { padding: 1.1rem 1.2rem 1.3rem; font-size: 0.92rem; color: var(--mf-grau); }

.mf-compose-rumpf p { margin: 0 0 0.5rem; }

.mf-compose-rumpf p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */

.mf-kontakt-daten { font-size: 1.02rem; line-height: 2; }

.mf-kontakt-daten p { margin: 0; }

.mf-kontakt-daten a { font-family: var(--mf-mono); font-size: 0.95rem; }

.mf-phase {
  border-left: 3px solid var(--mf-linie);
  padding-left: 1.1rem;
  margin-bottom: 1.1rem;
}

.mf-phase:last-child { margin-bottom: 0; }

.mf-phase strong { font-family: var(--mf-display); display: block; }

.mf-phase p { color: var(--mf-grau); font-size: 0.92rem; margin: 0; }

/* ---------- Footer ---------- */

.mf-footer {
  background: var(--mf-tinte);
  color: #b9b1b1;
  padding: 2.5rem 2rem;
  font-size: 0.9rem;
}

.mf-footer-innen {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mf-footer a { color: #fff; }
.mf-footer a:hover { color: #d98f8f; }

.mf-footer-marke {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mf-display);
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

/* Das transparente SVG lässt sich für den dunklen Grund weiß invertieren */
.mf-footer-marke img {
  height: 1.7rem;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */

.mf-prosa { padding: 4rem 2rem; }

.mf-prosa-innen { max-width: 46rem; margin-left: 0; }

.mf-prosa h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 2rem; }

.mf-prosa h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  background: var(--mf-rot);
  margin-top: 1rem;
}

.mf-prosa h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }

.mf-prosa p, .mf-prosa li { color: var(--mf-grau); }

.mf-prosa strong { color: var(--mf-tinte); }
