/* ==========================================================
   Mitmachen
   ========================================================== */
.mm-hero {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center;
    padding: 40px 44px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-50) 100%);
    border: 1px solid var(--accent-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.mm-hero .breadcrumb { margin-bottom: 18px; }
.mm-hero h1 { margin: 6px 0 14px; font-size: 42px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; color: var(--navy); }
.mm-hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-hero p { margin: 0 0 24px; font-size: 16px; color: var(--text-muted); max-width: 520px; }
.mm-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-hero__collage { position: relative; height: 340px; }
.mm-hero__collage img {
    position: absolute; object-fit: cover;
    border-radius: 16px; border: 4px solid #fff;
    box-shadow: var(--shadow-md);
}
.mm-hero__collage img:nth-child(1) { width: 62%; height: 64%; top: 0; left: 4%; transform: rotate(-3deg); }
.mm-hero__collage img:nth-child(2) { width: 50%; height: 52%; top: 12%; right: 0; transform: rotate(4deg); }
.mm-hero__collage img:nth-child(3) { width: 52%; height: 48%; bottom: 0; left: 24%; transform: rotate(-1deg); }
.mm-hero__badge {
    position: absolute; left: 0; bottom: 18px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 24px rgba(var(--accent-rgb), .35);
}

.mm-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.mm-values > div {
    display: flex; flex-direction: column; gap: 4px;
    padding: 20px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.mm-values i { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 12px; font-size: 17px; color: var(--accent); background: var(--accent-50); }
.mm-values strong { color: var(--navy); font-size: 16px; }
.mm-values span { font-size: 14px; color: var(--text-muted); }

.mm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.mm-steps li {
    position: relative; display: flex; flex-direction: column;
    padding: 26px 24px 22px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.mm-steps li:not(:last-child)::after {
    content: '\f054'; font: var(--fa-font-solid); font-weight: 900;
    position: absolute; right: -16px; top: 50%; z-index: 1; transform: translateY(-50%);
    width: 30px; height: 30px; display: grid; place-items: center; font-size: 11px;
    border-radius: 50%; color: var(--accent); background: var(--surface); border: 1px solid var(--border);
}
.mm-steps__num {
    width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 14px; font-size: 20px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 18px rgba(var(--accent-rgb), .3);
}
.mm-steps h3 { margin: 14px 0 6px; font-size: 18px; color: var(--navy); }
.mm-steps p { margin: 0 0 14px; font-size: 14px; color: var(--text-muted); }
.mm-steps a { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.mm-steps a i { font-size: 11px; margin-left: 4px; transition: transform .15s; }
.mm-steps a:hover i { transform: translateX(3px); }

.mm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mm-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    font-weight: 600; color: var(--text-muted);
    background: var(--surface); border: 1px solid var(--border);
    transition: all .15s;
}
.mm-tab:hover { color: var(--navy); border-color: var(--accent-100); }
.mm-tab.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(var(--accent-rgb), .3); }
.mm-sparte {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    animation: mm-in .3s var(--ease);
}
.mm-sparte[hidden] { display: none; }
@keyframes mm-in { from { opacity: 0; transform: translateY(6px); } }
.mm-sparte__img { min-height: 320px; }
.mm-sparte__img img { width: 100%; height: 100%; object-fit: cover; }
.mm-sparte__body { padding: 32px 36px; }
.mm-sparte__body h3 { margin: 4px 0 12px; font-size: 24px; line-height: 1.25; color: var(--navy); }
.mm-sparte__body p { margin: 0 0 18px; color: var(--text-muted); line-height: 1.65; }
.mm-sparte__body ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.mm-sparte__body li { font-size: 14px; font-weight: 600; color: var(--navy); }
.mm-sparte__body li i { color: var(--accent); margin-right: 6px; }

.mm-evening { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.mm-evening__text { padding: 30px 32px; }
.mm-evening__text h2 { margin-bottom: 12px; }
.mm-evening__text p { margin: 0 0 12px; color: var(--text-muted); line-height: 1.65; }
.mm-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mm-skills > div {
    display: flex; flex-direction: column; gap: 4px; padding: 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent-50), var(--accent-25));
    border: 1px solid var(--accent-100);
}
.mm-skills i { color: var(--accent); font-size: 20px; margin-bottom: 6px; }
.mm-skills strong { color: var(--navy); }
.mm-skills span { font-size: 13px; color: var(--text-muted); }

.mm-faq-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.mm-faq details {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .15s, box-shadow .15s;
}
.mm-faq details + details { margin-top: 10px; }
.mm-faq details[open] { border-color: var(--accent-100); box-shadow: var(--shadow-sm); }
.mm-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; cursor: pointer; list-style: none;
    font-weight: 700; color: var(--navy);
}
.mm-faq summary::-webkit-details-marker { display: none; }
.mm-faq summary i { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; color: var(--accent); background: var(--accent-50); transition: transform .2s; }
.mm-faq details[open] summary i { transform: rotate(45deg); }
.mm-faq p { margin: 0; padding: 0 20px 18px; color: var(--text-muted); line-height: 1.6; }

.mm-downloads { position: sticky; top: calc(var(--topbar-h) + 20px); margin-top: 52px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.mm-downloads h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 17px; color: var(--navy); }
.mm-downloads h3 i { color: var(--accent); }
.mm-dl { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--border-soft); transition: background .15s, border-color .15s; }
.mm-dl + .mm-dl { margin-top: 8px; }
.mm-dl:hover { background: var(--accent-50); border-color: var(--accent-100); }
.mm-dl__icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; font-size: 18px; color: #d23c3c; background: #fdeeee; }
.mm-dl > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.mm-dl strong { color: var(--navy); font-size: 15px; }
.mm-dl small { color: var(--text-muted); font-size: 12px; }
.mm-dl > i { color: var(--text-soft); }

@media (max-width: 1200px) {
    .mm-values { grid-template-columns: repeat(2, 1fr); }
    .mm-evening, .mm-faq-wrap { grid-template-columns: 1fr; }
    .mm-downloads { position: static; margin-top: 0; }
}
@media (max-width: 860px) {
    .mm-hero { grid-template-columns: 1fr; padding: 28px 24px; }
    .mm-hero__collage { height: 260px; }
    .mm-hero h1 { font-size: 32px; }
    .mm-steps { grid-template-columns: 1fr; }
    .mm-steps li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; transform: translateX(-50%) rotate(90deg); }
    .mm-sparte { grid-template-columns: 1fr; }
    .mm-sparte__img { min-height: 220px; }
    .mm-sparte__body { padding: 22px; }
}
@media (max-width: 640px) {
    .mm-values { grid-template-columns: 1fr; }
    .mm-skills { grid-template-columns: 1fr; }
    .mm-sparte__body ul { grid-template-columns: 1fr; }
    .mm-evening__text { padding: 22px; }
}
