/* Magazin (Übersicht und Artikel) – Entwurf sabinelindau.de, November 2026.
   Ergänzt styles.css, nur Klassen mit Präfix .mz-. Regeln aus design.md:
   Orange nur für Buttons und Textlinks, Überschriften einfarbig, linksbündig, keine dicken Ränder, keine Rundbögen. */

/* ---------- Kacheln (wie auf der Startseite: Bild oben, Text darunter) ---------- */
.mz-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mz-karte img { aspect-ratio: 4 / 3; object-fit: cover; } /* Beitragsbilder sind quadratisch, 4 : 3 lässt Schrift im Bild stehen */
.mz-karte time { font-size: .85rem; color: var(--text-leise); margin-bottom: 6px; display: block; }
.mz-karte h3 { margin-bottom: .6em; }
.mz-karte .textlink { margin-top: auto; }
.mz-alle .karte { background: var(--creme); } /* Kacheln auf Weiß in Creme, wie im Bereich Fachkräfte */

/* Große Kachel für den neuesten Artikel: Bild links, Text rechts */
.mz-karte--gross { display: grid; grid-template-columns: 1.1fr 1fr; }
.mz-karte--gross img { height: 100%; aspect-ratio: 4 / 3; }
.mz-karte--gross .innen { padding: clamp(26px, 4vw, 48px); justify-content: center; }
.mz-karte--gross h3 { font-size: clamp(1.6rem, 2.4vw, 1.95rem); }
.mz-karte--gross p { color: var(--text-leise); }

.mz-uebersicht-kopf .lead { font-size: 1.12rem; max-width: 34em; }
.mz-uebersicht-kopf h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* ---------- Artikelkopf ---------- */
.mz-kopf { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.mz-kopf .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mz-kopf h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.mz-kopf img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mz-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: .9em; }
.mz-meta .eyebrow { margin: 0; }
.mz-meta .eyebrow a { text-decoration: none; }
.mz-meta .eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mz-meta time { font-size: .95rem; color: var(--text-leise); }
.mz-von { color: var(--text-leise); margin: 0; }

/* ---------- Lesespalte ---------- */
.mz-lesespalte { width: min(720px, 100% - 40px); margin-inline: auto; }
.mz-text { font-size: 18px; line-height: 1.75; text-align: left; hyphens: manual; }
.mz-text > :first-child { margin-top: 0; }
.mz-text p, .mz-text ul, .mz-text ol { margin: 0 0 1.15em; }
.mz-text h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); margin: 1.7em 0 .5em; }
.mz-text h3 { font-size: clamp(1.25rem, 2vw, 1.4rem); margin: 1.5em 0 .5em; }
.mz-text h2 + h3 { margin-top: .9em; }
.mz-text ul, .mz-text ol { padding-left: 1.4em; }
.mz-text li { margin-bottom: .55em; padding-left: .2em; }
.mz-text li::marker { color: var(--petrol); }
.mz-text ol li::marker { font-weight: 600; }
.mz-text strong { font-weight: 600; }
/* Links im Fließtext: Petrol, unterstrichen */
.mz-text a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mz-text a:hover { color: var(--petrol-dunkel); text-decoration-thickness: 2px; }
.mz-text .mz-gruss { margin-top: 2em; }

/* ---------- Über die Autorin ---------- */
.mz-autorin { margin-top: clamp(48px, 6vw, 72px); background: var(--creme); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; }
.mz-autorin img { width: 120px; height: 120px; object-fit: cover; object-position: 22% 30%; border-radius: var(--radius-klein); }
.mz-autorin h2 { font-size: 1.6rem; }
.mz-autorin p { margin-bottom: .8em; }

/* ---------- Angebot und Newsletter ---------- */
.mz-angebot { padding-block: clamp(56px, 7vw, 88px); }
.mz-angebot p { max-width: 36em; margin-bottom: 26px; }

/* ---------- Weitere Artikel ---------- */
.mz-zurueck { margin: 36px 0 0; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .mz-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mz-kopf .wrap { grid-template-columns: 1fr; }
  .mz-kopf img { max-width: 420px; }
  .mz-karte--gross { grid-template-columns: 1fr; }
  .mz-karte--gross img { height: auto; }
}
@media (max-width: 640px) {
  .mz-raster { grid-template-columns: 1fr; }
  .mz-text { line-height: 1.7; }
  .mz-autorin { grid-template-columns: 1fr; gap: 18px; }
  .mz-autorin img { width: 96px; height: 96px; }
}
