/* MacherPost UI Animations v1
 * Ergänzt bestehende Styles. Respektiert prefers-reduced-motion.
 */

/* ══════════ 1. SCROLL-PROGRESS-BAR ══════════ */
#mp-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent, #c8102e);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(200, 16, 46, 0.4);
  will-change: transform;
}

/* ══════════ 2. SCROLL-REVEAL ══════════ */
.mp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.mp-reveal.mp-reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════ 3. STICKY-HEADER HIDE-ON-SCROLL ══════════ */
.mp-header-stickable {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  background: var(--paper, #faf8f2);
}
.mp-header-stickable.mp-header-hidden {
  transform: translateY(-100%);
}
.mp-header-stickable.mp-header-compact .mp-masthead {
  padding: 12px 0 10px !important;
  transition: padding 0.25s ease;
}
.mp-header-stickable.mp-header-compact .mp-masthead a[href="/"] > div:first-child {
  font-size: 36px !important;
  transition: font-size 0.25s ease;
}
.mp-header-stickable.mp-header-compact .mp-masthead .container > div:first-child,
.mp-header-stickable.mp-header-compact .mp-masthead .container > div:last-child {
  opacity: 0.4;
  transition: opacity 0.25s ease;
}
.mp-header-stickable.mp-header-compact #mp-wetter-strip,
.mp-header-stickable.mp-header-compact .ticker-bar {
  display: none;
}

/* ══════════ 4. TICKER UPTICK/DOWNTICK FLASH ══════════ */
@keyframes mp-flash-up {
  0%   { background: rgba(10, 125, 58, 0.0); }
  25%  { background: rgba(10, 125, 58, 0.25); }
  100% { background: rgba(10, 125, 58, 0.0); }
}
@keyframes mp-flash-down {
  0%   { background: rgba(200, 16, 46, 0.0); }
  25%  { background: rgba(200, 16, 46, 0.22); }
  100% { background: rgba(200, 16, 46, 0.0); }
}
.mp-flash-up { animation: mp-flash-up 0.8s ease-out; border-radius: 2px; }
.mp-flash-down { animation: mp-flash-down 0.8s ease-out; border-radius: 2px; }

/* ══════════ 5. HOVER-UNDERLINE-GROW ══════════ */
/* Für Ressort-Nav + Article-Titel + Footer-Links */
.mp-ressort-navbar #mp-ressort-nav a,
.article-card h3 a,
.grossformat-card h3 a,
.mp-link-underline {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}
.mp-ressort-navbar #mp-ressort-nav a::after,
.mp-link-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent, #c8102e);
  transition: right 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.mp-ressort-navbar #mp-ressort-nav a:hover::after,
.mp-link-underline:hover::after {
  right: 0;
}
/* Aktiv-Zustand des Ressort-Links: Linie steht bereits voll */
.mp-ressort-navbar #mp-ressort-nav a[style*="border-bottom"] {
  border-bottom: none !important;
}
.mp-ressort-navbar #mp-ressort-nav a[data-active="true"]::after,
.mp-ressort-navbar #mp-ressort-nav a[style*="color: var(--accent)"]::after {
  right: 0;
}

/* ══════════ 6. CARD-HOVER mit Border-Akzent ══════════ */
.grossformat-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  position: relative;
}
.grossformat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--accent, #c8102e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}
.grossformat-card:hover::before {
  transform: scaleX(1);
}

/* ══════════ 7. PARALLAX Container  ══════════ */
[data-parallax] { will-change: transform; }

/* ══════════ 8. M1 QUOTE-HERO ══════════ */
.mp-quote-hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--ink, #0a0a0a);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 64px;
}
.mp-quote-hero .quote-col { position: relative; }
.mp-quote-hero .quote-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent, #c8102e);
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mp-quote-hero .quote-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent, #c8102e);
}
.mp-quote-hero blockquote.quote {
  font-family: var(--f-display);
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  color: var(--ink, #0a0a0a);
  font-weight: 400;
}
.mp-quote-hero blockquote.quote em {
  font-style: italic;
  color: var(--accent, #c8102e);
}
.mp-quote-hero .quote-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
}
.mp-quote-hero .quote-attr .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-2, #f3efe4);
  object-fit: cover;
  flex-shrink: 0;
}
.mp-quote-hero .quote-attr .name {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0a0a0a);
  letter-spacing: 0.02em;
}
.mp-quote-hero .quote-attr .role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted, #6b6b66);
  margin-top: 3px;
}
.mp-quote-hero .sidebar {
  border-left: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
  padding-left: 32px;
}
.mp-quote-hero .sidebar-head {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted, #6b6b66);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
}
.mp-quote-hero .sidebar a.item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.mp-quote-hero .sidebar a.item:last-child { border-bottom: none; }
.mp-quote-hero .sidebar a.item:hover { transform: translateX(4px); }
.mp-quote-hero .sidebar a.item .kick {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, #c8102e);
  font-weight: 700;
  margin-bottom: 6px;
}
.mp-quote-hero .sidebar a.item .head {
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink, #0a0a0a);
}
.mp-quote-hero .sidebar a.item:hover .head { color: var(--accent, #c8102e); }
@media (max-width: 900px) {
  .mp-quote-hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 56px; }
  .mp-quote-hero .sidebar { border-left: none; border-top: 1px solid var(--rule-soft, rgba(10,10,10,0.14)); padding-left: 0; padding-top: 32px; }
}

/* ══════════ 9. M2 BRUTALIST COVER ══════════ */
.mp-cover-brutalist {
  position: relative;
  min-height: 560px;
  padding: 64px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--ink, #0a0a0a);
  background: var(--paper, #faf8f2);
}
.mp-cover-brutalist .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(0.85);
}
.mp-cover-brutalist::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,248,242,0.4) 0%, rgba(250,248,242,0.82) 100%);
  pointer-events: none;
}
.mp-cover-brutalist > * { position: relative; z-index: 2; }
.mp-cover-brutalist .issue-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent, #c8102e);
  font-weight: 700;
  margin-bottom: 32px;
}
.mp-cover-brutalist .issue-eyebrow span {
  padding: 6px 12px;
  border: 1px solid var(--accent, #c8102e);
  margin-right: 14px;
}
.mp-cover-brutalist .issue-headline {
  font-family: var(--f-display);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--ink, #0a0a0a);
  max-width: 1100px;
}
.mp-cover-brutalist .statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--ink, #0a0a0a);
  font-family: var(--f-mono);
}
.mp-cover-brutalist .stat {
  display: flex;
  flex-direction: column;
  min-width: 120px;
}
.mp-cover-brutalist .stat .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted, #6b6b66);
  margin-bottom: 6px;
}
.mp-cover-brutalist .stat .value {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink, #0a0a0a);
  line-height: 1;
}
@media (max-width: 768px) {
  .mp-cover-brutalist { min-height: 420px; padding: 44px 20px 32px; }
  .mp-cover-brutalist .statusbar { gap: 24px; padding-top: 24px; }
  .mp-cover-brutalist .stat { min-width: 90px; }
  .mp-cover-brutalist .stat .value { font-size: 26px; }
}

/* ══════════ 10. M3 MASONRY-ARTICLE-CARDS ══════════ */
.mp-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink, #0a0a0a);
  border-bottom: 1px solid var(--ink, #0a0a0a);
}
.mp-masonry .mcard {
  padding: 32px 28px;
  border-right: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
  border-bottom: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
  background: var(--paper, #faf8f2);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: background 0.3s ease;
  min-height: 320px;
}
.mp-masonry .mcard:hover {
  background: var(--paper-2, #f3efe4);
}
.mp-masonry .mcard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent, #c8102e);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mp-masonry .mcard:hover::before { transform: scaleY(1); }
.mp-masonry .mcard.feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 48px 40px;
  background: var(--ink, #0a0a0a);
  color: var(--paper, #faf8f2);
}
.mp-masonry .mcard.feature:hover { background: var(--ink, #0a0a0a); }
.mp-masonry .mcard.feature .title { color: var(--paper, #faf8f2); font-size: 44px; }
.mp-masonry .mcard.feature .dek { color: rgba(250,248,242,0.7); }
.mp-masonry .mcard.feature .persona-line { color: rgba(250,248,242,0.55); }
.mp-masonry .mcard.feature .kick { color: var(--accent, #c8102e); }
.mp-masonry .mcard .kick {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #c8102e);
  font-weight: 700;
  margin-bottom: 16px;
}
.mp-masonry .mcard .title {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink, #0a0a0a);
  margin: 0 0 12px;
  flex: 0 0 auto;
}
.mp-masonry .mcard .dek {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted, #6b6b66);
  margin-bottom: 18px;
  flex: 1;
}
.mp-masonry .mcard .persona-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
}
.mp-masonry .mcard.feature .persona-line { border-top-color: rgba(250,248,242,0.15); }
.mp-masonry .mcard .persona-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-2, #f3efe4);
  flex-shrink: 0;
}
.mp-masonry .mcard .persona-name {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6b6b66);
}
@media (max-width: 960px) {
  .mp-masonry { grid-template-columns: repeat(2, 1fr); }
  .mp-masonry .mcard.feature { grid-column: span 2; grid-row: span 1; padding: 32px 24px; }
  .mp-masonry .mcard.feature .title { font-size: 30px; }
}
@media (max-width: 600px) {
  .mp-masonry { grid-template-columns: 1fr; }
  .mp-masonry .mcard.feature { grid-column: span 1; }
}

/* ══════════ 11. M4 ARTICLE-PAGE STICKY-META ══════════ */
.mp-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.mp-article-grid .article-main { min-width: 0; }
.mp-article-grid .article-body {
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink, #0a0a0a);
  max-width: 680px;
}
.mp-article-grid .article-body p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-size: 5em;
  float: left;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  color: var(--accent, #c8102e);
}
.mp-article-grid .sticky-meta {
  position: sticky;
  top: 24px;
  align-self: start;
  font-family: var(--f-sans);
  font-size: 12px;
}
.mp-article-grid .sticky-meta .block {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
}
.mp-article-grid .sticky-meta .block .label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted, #6b6b66);
  margin-bottom: 8px;
}
.mp-article-grid .sticky-meta .ethos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mp-article-grid .sticky-meta .ethos-chips .chip {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
  color: var(--muted, #6b6b66);
  border-radius: 2px;
}
.mp-article-grid .sticky-meta .share-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.mp-article-grid .sticky-meta .share-row a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
  color: var(--muted, #6b6b66);
  transition: all 0.2s ease;
  text-decoration: none;
}
.mp-article-grid .sticky-meta .share-row a:hover {
  border-color: var(--accent, #c8102e);
  color: var(--accent, #c8102e);
}
@media (max-width: 960px) {
  .mp-article-grid { grid-template-columns: 1fr; gap: 32px; }
  .mp-article-grid .sticky-meta { position: static; }
}

/* ══════════ 12. M5 PAYWALL GRADIENT-FADE ══════════ */
.mp-paywall-gradient-wrap {
  position: relative;
  overflow: hidden;
  max-height: 420px;
}
.mp-paywall-gradient-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 260px;
  background: linear-gradient(to bottom, rgba(250,248,242,0) 0%, rgba(250,248,242,0.92) 50%, var(--paper, #faf8f2) 100%);
  pointer-events: none;
}
.mp-paywall-box {
  margin: -60px auto 48px;
  max-width: 680px;
  background: var(--paper, #faf8f2);
  border: 2px solid var(--ink, #0a0a0a);
  padding: 36px 40px;
  position: relative;
  z-index: 5;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}
.mp-paywall-box .eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent, #c8102e);
  font-weight: 700;
  margin-bottom: 14px;
}
.mp-paywall-box h2 {
  font-family: var(--f-display);
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink, #0a0a0a);
}
.mp-paywall-box .dek {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted, #6b6b66);
  margin-bottom: 20px;
}
.mp-paywall-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-paywall-box ul li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--ink, #0a0a0a);
}
.mp-paywall-box ul li::before {
  content: '●';
  color: var(--accent, #c8102e);
  font-size: 10px;
  flex-shrink: 0;
}
.mp-paywall-box .cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
}
.mp-paywall-box .price {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--ink, #0a0a0a);
}
.mp-paywall-box .price span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted, #6b6b66);
  text-transform: uppercase;
  margin-left: 4px;
}
.mp-paywall-box a.btn-primary {
  background: var(--accent, #c8102e);
  color: #fff;
  padding: 12px 24px;
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  transition: background 0.2s ease;
}
.mp-paywall-box a.btn-primary:hover { background: var(--accent-ink, #8a0a20); }

/* ══════════ ARTIKEL-BREITE EINHEITLICH (für alle Ressorts) ══════════ */
/* Einheitlich 1320px Container, 720px Fließtext für alle Artikel */
.article-wrapper {
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 24px !important;
  box-sizing: border-box;
}
.mp-article-grid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 88px !important;
}
.mp-article-grid .article-body {
  max-width: 720px;
  width: 100%;
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.7;
}
.mp-article-grid .article-body h2 {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin: 42px 0 16px;
  color: var(--ink, #0a0a0a);
}
.mp-article-grid .article-body h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin: 32px 0 12px;
}
.mp-article-grid .article-body p {
  margin: 0 0 20px;
}
.mp-article-grid .article-body blockquote {
  border-left: 3px solid var(--accent, #c8102e);
  padding: 6px 0 6px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--muted, #6b6b66);
  font-size: 20px;
  line-height: 1.5;
}

/* ══════════ TITEL LINE-CLAMP auf Cards ══════════ */
.grossformat-card h3,
.mp-masonry .mcard .title,
.mp-quote-hero .sidebar a.item .head,
.mp-related-item h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.mp-quote-hero blockquote.quote {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════ ARTICLE-HEADER-LOGO-DOUBLE-Fix ══════════ */
/* Falls article-header noch ein MacherPost-Logo enthält: verstecken */
.mp-article-header .mp-logo { display: none !important; }
.mp-article-header .mp-logo-macher,
.mp-article-header .mp-logo-post { display: none !important; }

/* ═══════════════════════════════════════════════════
   MOBILE PROFESSIONAL FIXES (<= 768 px)
   Überschreibt alle Legacy-Styles die auf Mobile
   überlaufen oder horizontal scrollen.
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ───── Globale Safety ───── */
  html, body { overflow-x: hidden; }
  img, video, iframe { max-width: 100%; height: auto; }
  table { max-width: 100%; }

  /* ───── Nav (EJS + Homepage-Inline): 12 Ressorts wrappen ───── */
  .mp-ressort-navbar > .container,
  body > nav > .container {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 8px !important;
  }
  .mp-ressort-navbar #mp-ressort-nav,
  body > nav .flex.gap-24 {
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 8px 14px !important;
    font-size: 12.5px !important;
    row-gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }
  .mp-ressort-navbar #mp-ressort-nav a,
  body > nav .flex.gap-24 a {
    padding: 8px 0 !important;
    min-height: 36px;
  }
  .mp-ressort-navbar::after { display: none !important; }
  /* sekundär-Nav (Archiv/Redaktion/Abonnement) eigene Reihe */
  .mp-ressort-navbar > .container > div:last-child,
  body > nav > .container > div:last-child {
    display: flex !important;
    flex-basis: 100%;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid var(--rule-soft, rgba(10,10,10,0.14));
    gap: 16px !important;
    font-size: 11px !important;
    flex-wrap: wrap;
  }

  /* ───── Wetter-Strip: 3-Buchstaben Codes statt Vollnamen ───── */
  #mp-wetter-strip { overflow-x: hidden !important; }
  #mp-wetter-strip > .container {
    flex-wrap: wrap !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    gap: 10px 12px !important;
  }
  .mp-wetter-city { font-size: 10px !important; flex: 0 0 auto; }
  .mp-wetter-city > span:first-child { font-size: 9px !important; }
  #mp-wetter-strip::after { display: none !important; }

  /* ───── M1 Quote-Hero ───── */
  .mp-quote-hero {
    grid-template-columns: 1fr !important;
    padding: 36px 0 48px !important;
    gap: 32px !important;
    margin-bottom: 40px !important;
  }
  .mp-quote-hero blockquote.quote {
    font-size: clamp(32px, 8vw, 44px) !important;
    margin-bottom: 20px !important;
  }
  .mp-quote-hero .sidebar {
    border-left: none !important;
    border-top: 1px solid var(--rule-soft, rgba(10,10,10,0.14)) !important;
    padding: 24px 0 0 !important;
  }

  /* ───── M2 Brutalist Cover ───── */
  .mp-cover-brutalist {
    min-height: 340px !important;
    padding: 32px 18px 28px !important;
  }
  .mp-cover-brutalist .issue-eyebrow {
    font-size: 10px !important;
    margin-bottom: 18px !important;
    flex-wrap: wrap;
    display: flex;
    gap: 8px;
  }
  .mp-cover-brutalist .issue-eyebrow span { margin-right: 0 !important; padding: 4px 8px !important; }
  .mp-cover-brutalist .issue-headline {
    font-size: clamp(30px, 9vw, 52px) !important;
    margin-bottom: 24px !important;
  }
  .mp-cover-brutalist .statusbar {
    gap: 18px 24px !important;
    padding-top: 20px !important;
  }
  .mp-cover-brutalist .stat { min-width: 70px; }
  .mp-cover-brutalist .stat .value { font-size: 22px !important; }
  .mp-cover-brutalist .stat .label { font-size: 9px !important; }

  /* ───── M3 Masonry ───── */
  .mp-masonry { grid-template-columns: 1fr !important; }
  .mp-masonry .mcard {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    padding: 24px 20px !important;
    min-height: 220px !important;
    border-right: none !important;
  }
  .mp-masonry .mcard.feature { padding: 28px 20px !important; }
  .mp-masonry .mcard.feature .title { font-size: 26px !important; }
  .mp-masonry .mcard .title { font-size: 20px !important; }

  /* ───── M4 Article-Grid ───── */
  .mp-article-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 24px 16px !important;
  }
  .mp-article-grid .article-body {
    font-size: 17px !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
  }
  .mp-article-grid .article-body p:first-of-type::first-letter {
    font-size: 4em !important;
    padding: 4px 8px 0 0 !important;
  }
  .mp-article-grid .article-body h2 { font-size: 24px !important; margin: 32px 0 12px !important; }
  .mp-article-grid .article-body h3 { font-size: 20px !important; margin: 24px 0 10px !important; }
  .mp-article-grid .article-body blockquote { font-size: 17px !important; padding-left: 14px !important; margin: 20px 0 !important; }
  .mp-article-grid .sticky-meta { position: static !important; }
  .mp-article-grid .sticky-meta .block { padding: 12px 0 !important; }

  /* ───── M5 Paywall Box ───── */
  .mp-paywall-box {
    margin: -40px 16px 32px !important;
    padding: 24px 22px !important;
    max-width: none !important;
  }
  .mp-paywall-box h2 { font-size: 24px !important; }
  .mp-paywall-box .dek { font-size: 14px !important; }
  .mp-paywall-box ul li { font-size: 14px !important; }
  .mp-paywall-box .price { font-size: 20px !important; }
  .mp-paywall-box .price span { display: block; margin-left: 0 !important; margin-top: 2px; }
  .mp-paywall-box .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .mp-paywall-box a.btn-primary { margin-left: 0 !important; justify-content: center; }

  /* ───── "Mehr aus Ressort" ───── */
  .mp-related-ressort { padding: 32px 16px 0 !important; margin: 40px 0 32px !important; }
  .mp-related-ressort header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .mp-related-ressort h2 { font-size: 24px !important; }
  .mp-related-item { padding: 20px 18px !important; min-height: 140px !important; }
  .mp-related-item h3 { font-size: 17px !important; }

  /* ───── Progress-Bar schmaler auf Mobile ───── */
  #mp-progress { height: 2px; }

  /* ───── Article-Wrapper padding ───── */
  .article-wrapper {
    padding: 0 16px !important;
  }

  /* ───── Hero-Manifesto auf Mobile ───── */
  .hero-manifesto {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 24px 0 40px !important;
  }
  .hero-manifesto h1 { font-size: clamp(36px, 10vw, 56px) !important; line-height: 1 !important; }

  /* ───── Wochenplan horizontal scroll mit cue ───── */
  .wochen-uebersicht { position: relative; }
  .wochen-uebersicht::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 28px;
    background: linear-gradient(to right, transparent, var(--paper, #faf8f2));
    pointer-events: none;
  }

  /* ───── CTA-Buttons Mobile ───── */
  .btn-lg { padding: 12px 18px !important; font-size: 12px !important; width: 100%; justify-content: center; }
  .flex.gap-16 { flex-direction: column; width: 100%; }
  .flex.gap-16 > * { width: 100%; }
}

/* Extra-Small Fixes (<= 440 px) */
@media (max-width: 440px) {
  .mp-quote-hero blockquote.quote { font-size: 30px !important; }
  .mp-cover-brutalist .issue-headline { font-size: 28px !important; }
  .mp-cover-brutalist .stat { min-width: 60px; }
  .mp-paywall-box { margin: -30px 10px 24px !important; padding: 20px 18px !important; }
  .mp-related-ressort { padding: 24px 10px 0 !important; }
  .mp-related-item { padding: 16px 14px !important; min-height: 120px !important; }
  .mp-masonry .mcard { padding: 20px 16px !important; min-height: 180px !important; }
  .mp-article-grid { padding: 20px 10px !important; }
  .article-wrapper { padding: 0 10px !important; }
}

/* ══════════ REDUCED-MOTION ══════════ */
@media (prefers-reduced-motion: reduce) {
  .mp-reveal, .mp-reveal-in { opacity: 1; transform: none; transition: none; }
  .mp-header-stickable { transition: none; }
  #mp-progress { display: none; }
  .grossformat-card::before, .mp-masonry .mcard::before { transition: none; }
}

/* v6.4: Aufmacher-Bilder in Article-Cards auf Home */
.mp-masonry .mcard-img {
  margin: -32px -28px 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2, #f3efe4);
}
.mp-masonry .mcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.mp-masonry .mcard:hover .mcard-img img {
  transform: scale(1.03);
}
.mp-masonry .mcard.feature .mcard-img {
  margin: -48px -44px 24px;
  aspect-ratio: 21 / 9;
}
@media (max-width: 720px) {
  .mp-masonry .mcard-img { margin: -24px -20px 14px; }
  .mp-masonry .mcard.feature .mcard-img { margin: -24px -20px 14px; }
}
