/* Item pages (Fahrzeuge, Ersatzteile, Uhren, Kurioses): listing and detail, templates/item/*.
   Fonts come from assets/css/fonts.css (self-hosted; never load them from Google, GDPR). */

:root {
    --mm-red: #6f0000;
    --mm-red-deep: #4f0000;
    --mm-red-tint: #f5ece9;
    --mm-ink: #1c1916;
    --mm-text: #3b3631;
    --mm-muted: #7a7169;
    --mm-line: #e5ded3;
    --mm-paper: #faf7f2;
    --mm-card: #ffffff;
    --mm-brass: #9a7a45;
    --mm-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
    --mm-sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --mm-radius: 4px;
    --mm-shadow: 0 1px 2px rgba(28, 25, 22, .06), 0 8px 24px rgba(28, 25, 22, .06);
    --mm-shadow-hover: 0 2px 4px rgba(28, 25, 22, .08), 0 18px 40px rgba(28, 25, 22, .12);
    --mm-nav-h: 66px;
    --mm-wrap: 1240px;
}
@media (max-width: 991px) { :root { --mm-nav-h: 48px; } }

/* ---------- Page base ---------- */

body.mm-page {
    background: var(--mm-paper);
    color: var(--mm-text);
    font-family: var(--mm-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
/* The theme pads every <section> by 8rem; spacing here is set per component. */
:where(body.mm-page) section { padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mm-nav-h) + 16px); }

/* Solid navigation bar on these pages (the theme makes it transparent at the top). */
body.mm-page #mainNav,
body.mm-page #mainNav.navbar-shrink { background-color: var(--mm-red); border-color: transparent; }
body.mm-page #mainNav .navbar-brand,
body.mm-page #mainNav .navbar-nav > li.nav-item > a.nav-link { color: #fff; }
body.mm-page #mainNav .navbar-nav > li.nav-item > a.nav-link:hover { color: rgba(255, 255, 255, .7); }
body.mm-page.mm-nav-overlay #mainNav:not(.navbar-shrink) { background-color: transparent; }
@media (min-width: 992px) {
    body.mm-page.mm-nav-overlay-desktop #mainNav:not(.navbar-shrink) { background-color: transparent; }
}

/* Parts that exist only in one of the two detail layouts. */
@media (min-width: 992px) { .mm-mobile-only { display: none !important; } }
@media (max-width: 991px) { .mm-desktop-only { display: none !important; } }

.mm-wrap { max-width: var(--mm-wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 575px) { .mm-wrap { padding: 0 16px; } }

.mm-page a { color: var(--mm-red); }
.mm-page a:hover { color: var(--mm-red-deep); }

.mm-eyebrow {
    display: block;
    font-family: var(--mm-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mm-brass);
    margin-bottom: .5rem;
}
.mm-h1, .mm-h2, .mm-h3 { font-family: var(--mm-serif); color: var(--mm-ink); font-weight: 700; line-height: 1.25; margin: 0; }
.mm-h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.mm-h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.mm-h3 { font-size: 1.15rem; }
.mm-lead { font-size: 1.05rem; color: var(--mm-muted); max-width: 62ch; }

/* ---------- Buttons ---------- */

.mm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .85rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: var(--mm-sans);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.mm-btn:hover, .mm-btn:focus { text-decoration: none; }
.mm-page .mm-btn--primary { background: var(--mm-red); color: #fff; }
.mm-page .mm-btn--primary:hover { background: var(--mm-red-deep); color: #fff; }
.mm-page .mm-btn--ghost { background: transparent; border-color: var(--mm-line); color: var(--mm-ink); }
.mm-page .mm-btn--ghost:hover { border-color: var(--mm-ink); color: var(--mm-ink); }
.mm-page .mm-btn--light { background: #fff; color: var(--mm-red); }
.mm-page .mm-btn--light:hover { background: var(--mm-red-tint); color: var(--mm-red-deep); }
.mm-page .mm-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.mm-page .mm-btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.mm-btn--block { display: flex; width: 100%; }
.mm-btn:focus-visible { outline: 2px solid var(--mm-brass); outline-offset: 2px; }

/* ---------- Listing: hero ---------- */

.mm-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 52vh;
    padding: calc(var(--mm-nav-h) + 56px) 0 56px;
    background-color: var(--mm-ink);
    background-position: center 60%;
    background-size: cover;
    color: #fff;
}
.mm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 14, .15) 0%, rgba(20, 16, 14, .35) 45%, rgba(20, 16, 14, .82) 100%);
}
.mm-hero > * { position: relative; width: 100%; }
.mm-hero .mm-eyebrow { color: #e6cfa3; }
.mm-hero .mm-h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.mm-hero p { color: rgba(255, 255, 255, .82); max-width: 60ch; margin: 1rem 0 0; font-size: 1.05rem; }

/* Jump links below the hero */
.mm-jump {
    position: sticky;
    top: var(--mm-nav-h);
    z-index: 10;
    background: rgba(250, 247, 242, .94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--mm-line);
}
.mm-jump ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.mm-jump a {
    display: inline-block;
    padding: 16px 0 14px;
    border-bottom: 2px solid transparent;
    color: var(--mm-ink);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.mm-jump a:hover { color: var(--mm-red); border-bottom-color: var(--mm-red); text-decoration: none; }
.mm-jump .mm-count { color: var(--mm-muted); font-weight: 600; margin-left: .35em; }

/* ---------- Listing: sections & grids ---------- */

.mm-section { padding: 64px 0; }
.mm-section + .mm-section { padding-top: 16px; }
.mm-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 24px;
    padding-bottom: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--mm-line);
}
.mm-section-head p { margin: .5rem 0 0; color: var(--mm-muted); max-width: 60ch; }
.mm-section-head .mm-meta { color: var(--mm-muted); font-size: .9rem; }

.mm-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.mm-grid--refs { gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 575px) {
    .mm-grid { grid-template-columns: 1fr; gap: 20px; }
    .mm-grid--refs { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.mm-empty {
    padding: 48px 24px;
    text-align: center;
    background: var(--mm-card);
    border: 1px dashed var(--mm-line);
    border-radius: var(--mm-radius);
    color: var(--mm-muted);
}

/* ---------- Listing filters ---------- */

.mm-filters { margin: -12px 0 28px; }
.mm-filters summary {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 1px solid var(--mm-line); border-radius: 2px; background: var(--mm-card);
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-ink);
    cursor: pointer; list-style: none;
}
.mm-filters summary::-webkit-details-marker { display: none; }
.mm-filters__badge { padding: 1px 7px; border-radius: 999px; background: var(--mm-red); color: #fff; font-size: .68rem; letter-spacing: .04em; }
.mm-filters__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-top: 12px; padding: 18px 20px; background: var(--mm-card); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); }
.mm-filter { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 160px; flex: 1 1 160px; }
.mm-filter--year { flex: 0 1 120px; min-width: 110px; }
.mm-filter span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-muted); }
.mm-filter select, .mm-filter input {
    width: 100%; padding: 9px 11px; border: 1px solid var(--mm-line); border-radius: 2px; background: #fff;
    color: var(--mm-ink); font: inherit; font-size: .92rem;
}
.mm-filter select:focus, .mm-filter input:focus { outline: none; border-color: var(--mm-brass); box-shadow: 0 0 0 3px rgba(154, 122, 69, .18); }
.mm-filters__actions { display: flex; gap: 8px; }
.mm-filters__note { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--mm-muted); }
@media (min-width: 768px) {
    .mm-filters summary { display: none; }
    .mm-filters__form { margin-top: 0; }
}
@media (max-width: 575px) {
    .mm-filter, .mm-filter--year { flex: 1 1 100%; }
    .mm-filter--year { flex-basis: calc(50% - 8px); }
    .mm-filters__actions { flex-basis: 100%; }
    .mm-filters__actions .mm-btn { flex: 1; }
}

/* ---------- Card ---------- */

.mm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--mm-card);
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.mm-page a.mm-card { color: inherit; }
.mm-card:hover, .mm-card:focus { transform: translateY(-3px); box-shadow: var(--mm-shadow-hover); text-decoration: none; }
.mm-card:focus-visible { outline: 2px solid var(--mm-brass); outline-offset: 3px; }

.mm-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ebe4d8; }
.mm-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .45s ease, transform .8s ease, filter .45s ease;
}
.mm-card__media img.is-alt { opacity: 0; }
.mm-card:hover .mm-card__media img.is-alt { opacity: 1; }
.mm-card:hover .mm-card__media img { transform: scale(1.03); }

.mm-badge {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: 4px 9px;
    border-radius: 2px;
    background: rgba(28, 25, 22, .72);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mm-badge--count { right: 12px; bottom: 12px; }
.mm-badge--sold { left: 12px; top: 12px; background: var(--mm-red); }
.mm-badge--reserved { left: 12px; top: 12px; background: var(--mm-brass); }

.mm-card__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.mm-card__make { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mm-brass); }
.mm-card__title { font-family: var(--mm-serif); font-size: 1.08rem; font-weight: 700; line-height: 1.4; color: var(--mm-ink); margin: 0; }
.mm-card__facts { margin: 2px 0 0; color: var(--mm-muted); font-size: .86rem; }
.mm-card__facts span + span::before { content: '·'; margin: 0 .45em; color: var(--mm-line); }
.mm-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--mm-line);
}
.mm-card__body > .mm-card__facts { margin-bottom: 14px; }
.mm-price { font-family: var(--mm-serif); font-size: 1.1rem; font-weight: 700; color: var(--mm-red); }
.mm-price--request { font-size: .95rem; font-style: italic; font-weight: 400; color: var(--mm-ink); }
.mm-card__more { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-ink); white-space: nowrap; }
.mm-card__more::after { content: ' →'; }

/* Reference (sold) cards: smaller, muted until hover */
.mm-card--ref { box-shadow: none; border: 1px solid var(--mm-line); background: transparent; }
.mm-card--ref .mm-card__media img { filter: grayscale(.9) contrast(.95); }
.mm-card--ref:hover .mm-card__media img { filter: none; }
.mm-card--ref .mm-card__body { padding: 12px 14px 14px; }
.mm-card--ref .mm-card__title { font-size: .92rem; }
.mm-card--ref .mm-card__facts { font-size: .8rem; margin: 0; }

/* ---------- Contact band (listing + detail) ---------- */

.mm-contact { background: var(--mm-ink); color: rgba(255, 255, 255, .8); padding: 64px 0; }
.mm-contact .mm-h2 { color: #fff; }
.mm-contact .mm-eyebrow { color: #e6cfa3; }
.mm-contact__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mm-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Detail: shared ---------- */


.mm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mm-chips li { padding: 5px 11px; border: 1px solid var(--mm-line); border-radius: 999px; font-size: .82rem; color: var(--mm-text); background: var(--mm-card); }

.mm-specs { display: grid; grid-template-columns: 1fr; margin: 0; }
.mm-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--mm-line); }
.mm-specs dt { font-weight: 400; color: var(--mm-muted); }
.mm-specs dd { margin: 0; text-align: right; color: var(--mm-ink); font-weight: 600; }
.mm-specs--2col { column-gap: 48px; }
@media (min-width: 768px) { .mm-specs--2col { grid-template-columns: 1fr 1fr; } }

.mm-prose { font-size: 1.02rem; line-height: 1.85; color: var(--mm-text); }
.mm-prose p { margin: 0 0 1.1em; }
.mm-prose ul, .mm-prose ol { padding-left: 1.2em; }
.mm-video { position: relative; aspect-ratio: 16 / 9; margin-top: 24px; }
.mm-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

.mm-sold-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-left: 3px solid var(--mm-red);
    background: var(--mm-red-tint);
    color: var(--mm-ink);
    font-size: .92rem;
}

/* ---------- Inquiry form ---------- */

.mm-inquiry { display: grid; gap: 14px; }
.mm-inquiry__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 575px) { .mm-inquiry__row { grid-template-columns: 1fr; } }
.mm-field label { display: block; margin-bottom: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--mm-ink); }
.mm-field input, .mm-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--mm-line);
    border-radius: 2px;
    background: #fff;
    color: var(--mm-ink);
    font: inherit;
    font-size: .95rem;
}
.mm-field textarea { min-height: 120px; resize: vertical; }
.mm-field input:focus, .mm-field textarea:focus { outline: none; border-color: var(--mm-brass); box-shadow: 0 0 0 3px rgba(154, 122, 69, .18); }
.mm-inquiry__hint { margin: 0; font-size: .82rem; color: var(--mm-muted); }
.mm-optional { font-weight: 400; }
.mm-contact p { margin: .6rem 0 0; }

/* ---------- Photos (lightbox links) ---------- */

.mm-photo { position: relative; display: block; overflow: hidden; background: #ebe4d8; cursor: zoom-in; }
.mm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mm-photo:hover img { transform: scale(1.025); }
.mm-more-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 25, 22, .58);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ---------- Detail page ----------
   One markup (templates/item/detail.php), two layouts:
   below 992px "Klassisch" (rules outside the media query),
   from 992px "Editorial" (rules inside it). */

.mm-d { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: var(--mm-nav-h); }
.mm-d-crumbs { padding-top: 16px; padding-bottom: 16px; font-size: .82rem; color: var(--mm-muted); }
.mm-page .mm-d-crumbs a { color: var(--mm-muted); }
.mm-d-crumbs span[aria-hidden] { margin: 0 .5em; }

.mm-d-media { padding: 0 24px; }
.mm-d-media__link { aspect-ratio: 16 / 10; border-radius: 2px; }
.mm-d-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.mm-d-thumbs .mm-photo { aspect-ratio: 4 / 3; border-radius: 2px; }

.mm-d-head { padding-top: 20px; }
.mm-d-head__card { padding: 24px 22px; background: var(--mm-card); border-radius: var(--mm-radius); box-shadow: var(--mm-shadow); }
.mm-d-head .mm-h1 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
.mm-d-head .mm-chips { margin: 16px 0 20px; }
.mm-d-head .mm-sold-note { margin: 0 0 18px; }
.mm-d-head .mm-sold-note i { margin-top: 3px; color: var(--mm-red); }
.mm-d-price { margin-bottom: 18px; padding: 16px 0; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }
.mm-d-price small { display: block; color: var(--mm-muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.mm-d-price .mm-price { font-size: 1.7rem; }
.mm-d-actions { display: grid; gap: 10px; }
.mm-d-note { margin: 14px 0 0; font-size: .82rem; color: var(--mm-muted); }

.mm-d-story { padding-top: 44px; }
.mm-d-story .mm-h2, .mm-d-sheet .mm-h2, .mm-d-video .mm-h2 { margin-bottom: 16px; }
.mm-d-video { padding-top: 44px; }
.mm-d-sheet { padding-top: 44px; }
.mm-d-inquiry { margin-top: 56px; padding: 48px 0; border-top: 1px solid var(--mm-line); }
.mm-d-inquiry__grid { display: grid; gap: 28px; }
.mm-d-inquiry__lead { margin: 12px 0 18px; color: var(--mm-muted); }

@media (max-width: 575px) {
    .mm-d-media { padding: 0 16px; }
    .mm-d-thumbs { gap: 5px; margin-top: 5px; }
    .mm-d-head__card { padding: 22px 18px; }
}

@media (min-width: 992px) {
    .mm-d {
        padding-top: 0;
        grid-template-areas: "hero" "figures" "story" "mosaic" "video" "sheet" "inquiry";
    }

    /* Hero: full-screen photo with the title block laid over it */
    .mm-d-media { grid-area: hero; padding: 0; }
    .mm-d-media__link { height: 92vh; min-height: 560px; max-height: 1050px; aspect-ratio: auto; border-radius: 0; background: var(--mm-ink); }
    .mm-d-media__link::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(20, 16, 14, .3) 0%, rgba(20, 16, 14, 0) 28%, rgba(20, 16, 14, .3) 58%, rgba(20, 16, 14, .9) 100%);
        pointer-events: none;
    }
    .mm-d-media__link:hover img { transform: none; }
    .mm-d-head { grid-area: hero; align-self: end; z-index: 1; padding: 0 0 56px; pointer-events: none; }
    .mm-d-head__card { max-width: 900px; padding: 0; background: none; border-radius: 0; box-shadow: none; color: #fff; }
    .mm-d-head__card > * { pointer-events: auto; }
    .mm-d-head .mm-eyebrow { color: #e6cfa3; }
    .mm-d-head .mm-h1 { max-width: 18ch; color: #fff; font-size: clamp(2.3rem, 4.4vw, 4rem); }
    .mm-d-head .mm-chips { gap: 0; margin: 18px 0 26px; }
    .mm-d-head .mm-chips li { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); font-size: 1.02rem; }
    .mm-d-head .mm-chips li + li::before { content: '·'; margin: 0 .55em; }
    .mm-d-price { display: inline-block; margin: 0 28px 0 0; padding: 0; border: 0; vertical-align: middle; }
    .mm-d-price .mm-price, .mm-d-price .mm-price--request { color: #fff; }
    .mm-d-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; vertical-align: middle; }
    .mm-d-actions .mm-badge--sold { position: static; padding: 6px 12px; font-size: .78rem; }
    .mm-d-head .mm-d-actions .mm-btn--primary { background: #fff; color: var(--mm-red); }
    .mm-d-head .mm-d-actions .mm-btn--primary:hover { background: var(--mm-red-tint); }

    /* Key figures */
    .mm-d-figures { grid-area: figures; background: var(--mm-card); border-bottom: 1px solid var(--mm-line); }
    .mm-d-figures dl { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin: 0; }
    .mm-d-figures dl > div { padding: 32px 24px; border-left: 1px solid var(--mm-line); }
    .mm-d-figures dl > div:first-child { padding-left: 0; border-left: 0; }
    .mm-d-figures dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mm-muted); }
    .mm-d-figures dd { margin: 6px 0 0; font-family: var(--mm-serif); font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 700; color: var(--mm-ink); }

    /* Magazine-style description */
    .mm-d-story { grid-area: story; padding: 88px 0 72px; }
    .mm-d-story .mm-wrap { max-width: 780px; }
    .mm-d-story .mm-sold-note { margin-bottom: 32px; }
    .mm-d-story .mm-prose { font-family: var(--mm-serif); font-size: 1.1rem; font-weight: 300; line-height: 1.95; color: var(--mm-ink); }
    .mm-d-story .mm-prose > :first-child::first-letter {
        float: left;
        margin: .08em .12em 0 0;
        font-size: 3.6em;
        font-weight: 700;
        line-height: .8;
        color: var(--mm-red);
    }

    /* Photo mosaic: full width, two half width, repeat */
    .mm-d-mosaic { grid-area: mosaic; }
    .mm-d-mosaic__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .mm-d-mosaic__grid .mm-photo { aspect-ratio: 3 / 2; }
    .mm-d-mosaic__grid .mm-photo:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
    .mm-d-mosaic__more { display: flex; justify-content: center; padding-top: 28px; }

    .mm-d-video { grid-area: video; padding-top: 72px; }
    .mm-d-video .mm-wrap { max-width: 980px; }

    .mm-d-sheet { grid-area: sheet; padding: 80px 0; }

    /* Inquiry as a red band */
    .mm-d-inquiry { grid-area: inquiry; margin: 0; padding: 80px 0; border: 0; background: var(--mm-red); color: rgba(255, 255, 255, .85); }
    .mm-d-inquiry .mm-h2 { color: #fff; }
    .mm-d-inquiry .mm-eyebrow { color: #e6cfa3; }
    .mm-d-inquiry__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
    .mm-d-inquiry__lead { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
    .mm-page .mm-d-inquiry__phone { border-color: rgba(255, 255, 255, .6); color: #fff; }
    .mm-page .mm-d-inquiry__phone:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
    .mm-d-inquiry .mm-field label { color: #fff; }
    .mm-d-inquiry .mm-field input, .mm-d-inquiry .mm-field textarea { border-color: transparent; }
    .mm-page .mm-d-inquiry .mm-btn--primary { background: #fff; color: var(--mm-red); }
    .mm-page .mm-d-inquiry .mm-btn--primary:hover { background: var(--mm-red-tint); color: var(--mm-red-deep); }
    .mm-d-inquiry .mm-inquiry__hint, .mm-page .mm-d-inquiry .mm-inquiry__hint a { color: rgba(255, 255, 255, .78); }
}

/* ---------- More items ---------- */

.mm-more { padding: 64px 0 80px; }

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

.mm-hero--home { min-height: 88vh; }
.mm-hero--home .mm-h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.mm-hero--small { min-height: 42vh; }
.mm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Home ---------- */

.mm-home-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
.mm-home-intro .mm-h2 { margin-bottom: 18px; }
.mm-home-contact { padding: 28px; background: var(--mm-card); border-radius: var(--mm-radius); box-shadow: var(--mm-shadow); }
.mm-home-contact p { margin: 0 0 12px; color: var(--mm-ink); }
.mm-home-contact i { width: 1.4em; color: var(--mm-brass); }
.mm-page .mm-home-contact a { color: var(--mm-ink); }
.mm-page .mm-home-contact a:hover { color: var(--mm-red); }
.mm-home-contact__note { color: var(--mm-muted) !important; font-size: .88rem; }
@media (max-width: 767px) { .mm-home-intro { grid-template-columns: 1fr; gap: 28px; } }

.mm-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 991px) { .mm-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .mm-services { grid-template-columns: 1fr; } }
.mm-service { display: flex; flex-direction: column; padding: 28px; background: var(--mm-card); border-radius: var(--mm-radius); box-shadow: var(--mm-shadow); }
.mm-service > i { font-size: 1.6rem; color: var(--mm-brass); }
.mm-service .mm-h3 { margin: 14px 0 8px; }
.mm-service p { margin: 0; color: var(--mm-muted); font-size: .95rem; line-height: 1.7; }
.mm-service--cta { background: var(--mm-red); color: #fff; }
.mm-service--cta > i { color: #e6cfa3; }
.mm-service--cta .mm-h3 { color: #fff; }
.mm-service--cta p { color: rgba(255, 255, 255, .85); margin-bottom: 20px; }
.mm-service--cta .mm-btn { margin-top: auto; align-self: flex-start; }

/* Photo strip edge to edge without gaps, like the original site */
.mm-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mm-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 575px) { .mm-gallery { grid-template-columns: 1fr 1fr; } }

/* Intro below the hero on brand red */
.mm-home-about { background: var(--mm-red); color: rgba(255, 255, 255, .88); }
.mm-home-about .mm-h2 { color: #fff; }
.mm-home-about .mm-eyebrow { color: #e6cfa3; }
.mm-home-about .mm-prose { color: rgba(255, 255, 255, .88); }
.mm-home-about .mm-home-contact { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }
.mm-home-about .mm-home-contact p, .mm-page .mm-home-about .mm-home-contact a { color: #fff; }
.mm-page .mm-home-about .mm-home-contact a:hover { color: #e6cfa3; }
.mm-home-about .mm-home-contact i { color: #e6cfa3; }
.mm-home-about .mm-home-contact__note { color: rgba(255, 255, 255, .7) !important; }

/* ---------- Kontakt & legal ---------- */

.mm-k-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: stretch; }
.mm-k-card { padding: 32px; background: var(--mm-card); border-radius: var(--mm-radius); box-shadow: var(--mm-shadow); }
.mm-k-card .mm-h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 20px; }
.mm-k-list { margin: 0; }
.mm-k-list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mm-line); }
.mm-k-list dt { font-weight: 400; color: var(--mm-muted); }
.mm-k-list dt i { width: 1.3em; color: var(--mm-brass); }
.mm-k-list dd { margin: 0; color: var(--mm-ink); font-weight: 600; }
.mm-k-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 767px) {
    .mm-k-grid { grid-template-columns: 1fr; }
    .mm-k-card { padding: 24px 20px; }
    .mm-k-list div { grid-template-columns: 1fr; gap: 2px; }
}

.mm-legal:nth-of-type(odd) { background: var(--mm-card); }
.mm-legal__wrap { max-width: 860px; }
.mm-legal .mm-h2 { margin-bottom: 20px; }
.mm-legal__settings { margin: 0 0 24px; }
.mm-legal .mm-prose { font-size: .98rem; line-height: 1.8; overflow-wrap: anywhere; }
.mm-legal .mm-prose h3 { margin: 2.2em 0 .6em; font-family: var(--mm-serif); font-size: 1.2rem; font-weight: 700; color: var(--mm-ink); }
.mm-legal .mm-prose h4 { margin: 1.6em 0 .4em; font-size: 1rem; font-weight: 700; color: var(--mm-ink); }
.mm-legal .mm-prose > h3:first-child { margin-top: 0; }
.mm-legal .mm-prose li { margin-bottom: .5em; }

/* ---------- External content behind consent (Google Maps, YouTube) ---------- */

.mm-embed { position: relative; overflow: hidden; border-radius: var(--mm-radius); background: #ebe4d8; }
.mm-embed--video { aspect-ratio: 16 / 9; }
.mm-embed--map { min-height: 380px; }
.mm-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mm-embed__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.mm-embed__placeholder > i { font-size: 1.6rem; color: var(--mm-brass); }
.mm-embed__placeholder p { max-width: 52ch; margin: 0; font-size: .9rem; color: var(--mm-text); }
.mm-embed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
@media (max-width: 575px) {
    .mm-embed--video { aspect-ratio: auto; min-height: 320px; }
    .mm-embed--video.is-loaded { aspect-ratio: 16 / 9; min-height: 0; }
}

/* ---------- Consent banner ---------- */

.mm-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3000;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--mm-card);
    border-radius: var(--mm-radius);
    box-shadow: 0 12px 48px rgba(20, 16, 14, .28);
    font-family: var(--mm-sans);
}
.mm-consent[hidden] { display: none; }
.mm-consent__inner { display: flex; align-items: center; gap: 16px 28px; }
.mm-consent__title { display: block; margin-bottom: 4px; font-family: var(--mm-serif); color: var(--mm-ink); }
.mm-consent p { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--mm-text); }
.mm-consent__actions { display: flex; flex-shrink: 0; gap: 10px; }
.mm-page .mm-consent .mm-btn { border-color: var(--mm-ink); }
@media (max-width: 767px) {
    .mm-consent { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
    .mm-consent__inner { flex-direction: column; align-items: stretch; }
    .mm-consent__actions { flex-direction: column; }
}

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

.mm-footer { padding: 56px 0 24px; background: var(--mm-red); color: rgba(255, 255, 255, .85); font-size: .92rem; }
.mm-footer__grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 32px; }
.mm-footer__brand { display: block; margin-bottom: 8px; font-family: var(--mm-serif); font-size: 1.2rem; color: #fff; }
.mm-footer__label { display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6cfa3; }
.mm-footer p { margin: 0; line-height: 1.8; }
.mm-footer ul { margin: 0; padding: 0; list-style: none; line-height: 1.9; }
.mm-footer a, .mm-page .mm-footer a { color: rgba(255, 255, 255, .9); }
.mm-footer a:hover, .mm-page .mm-footer a:hover { color: #fff; }
.mm-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .8rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 767px) { .mm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .mm-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Exposé link, language note ---------- */

.mm-d-langnote { margin: 0 0 12px; font-size: .85rem; font-style: italic; color: var(--mm-muted); }
@media (min-width: 992px) { .mm-d-langnote { font-family: var(--mm-sans); } }

.mm-d-sheet__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.mm-d-sheet__head .mm-h2 { margin-bottom: 0; }
.mm-d-expose-row { margin: 24px 0 0; }

/* ---------- Reserved notice, admin preview ---------- */

.mm-d-reserved { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; font-size: .92rem; }
.mm-d-reserved .mm-badge { position: static; }
@media (min-width: 992px) { .mm-d-reserved { color: rgba(255, 255, 255, .9); margin-bottom: 22px; } }
.mm-preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2500; padding: 10px 16px; background: var(--mm-brass); color: #fff; font-size: .88rem; text-align: center; }
.mm-page .mm-preview-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- 404 ---------- */

.mm-notfound { padding: calc(var(--mm-nav-h) + 80px) 0 120px; }
.mm-notfound .mm-lead { margin: 14px 0 0; }
.mm-notfound__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mm-card, .mm-card__media img, .mm-photo img { transition: none; }
}
