:root {
    --mcv-green: #4c9a19;
    --mcv-green-dark: #3f8115;
    --mcv-cream: #f7f2ed;
    --mcv-cream-soft: #fbf8f4;
    --mcv-text: #222222;
    --mcv-body: #4a4a4a;
    --mcv-muted: #999999;
    --mcv-line: #dfdfdf;
    --mcv-field: #c9c9c9;
    --mcv-success-bg: #e6f2e8;
    --mcv-success-text: #00450c;
}

.mcv-sales,
.mcv-single {
    color: var(--mcv-body);
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.mcv-container {
    width: min(1800px, calc(100% - 120px));
    margin: 0 auto;
}

.mcv-sales {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 56px;
}

.mcv-sales-heading {
    margin: 0 0 32px;
    border-radius: 30px;
    background: var(--mcv-cream);
    padding: 16px 28px;
}

.mcv-sales-heading span {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--mcv-green);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.mcv-sales-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.mcv-card {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
    background: var(--mcv-cream);
    isolation: isolate;
    transition: box-shadow 180ms ease;
}

.mcv-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

.mcv-card__link {
    display: grid;
    min-height: 100%;
    grid-template-rows: auto 1fr;
    gap: 16px;
    box-sizing: border-box;
    color: var(--mcv-body);
    padding: 20px 20px 24px;
    text-decoration: none;
}

.mcv-card__link:hover,
.mcv-card__link:focus {
    color: var(--mcv-body);
    text-decoration: none;
}

/* Theme-Overlay (Enfold) vollständig deaktivieren */
html body .mcv-sales .mcv-card .mcv-card__link::before,
html body .mcv-sales .mcv-card .mcv-card__link::after,
html body .mcv-sales .mcv-card .mcv-card__media::before,
html body .mcv-sales .mcv-card .mcv-card__media::after,
html body .mcv-sales .mcv-card::before,
html body .mcv-sales .mcv-card::after {
    display: none !important;
    content: '' !important;
    background: transparent !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Enfold .image-overlay DOM-Element neutralisieren (z-index: 300, per JS injiziert) */
.mcv-card .image-overlay,
.mcv-sales .image-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Enfold avia-link-overlay DOM-Element neutralisieren */
.mcv-sales .avia-link-overlay,
.mcv-card .avia-link-overlay {
    display: none !important;
    pointer-events: none !important;
}

.mcv-card__link:focus-visible {
    outline: 3px solid var(--mcv-green);
    outline-offset: 5px;
}

.mcv-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
}

.mcv-card__image,
.mcv-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 200ms ease;
}

.mcv-card:hover .mcv-card__image,
.mcv-card:hover .mcv-card__media img {
    opacity: 0.85;
}

.mcv-card__placeholder,
.mcv-gallery__placeholder {
    display: grid;
    min-height: 260px;
    place-items: center;
    color: var(--mcv-muted);
    font-weight: 800;
}

.mcv-card__status {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    background: var(--mcv-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 11px;
}

.mcv-card__body {
    display: grid;
    align-content: start;
    gap: 10px;
}

.mcv-card__title {
    display: block;
    margin: 0;
    color: var(--mcv-green);
    font-family: 'Bubblegum Sans', cursive;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.mcv-card__teaser {
    display: block;
    margin: 4px 0 0;
    color: var(--mcv-green);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.mcv-card__facts {
    display: grid;
    gap: 2px;
    margin: 0;
    color: var(--mcv-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.mcv-card__facts span {
    display: block;
}

.mcv-card__facts strong {
    color: var(--mcv-green);
    font-weight: 700;
}

.mcv-card__price {
    display: block;
    margin-top: 10px;
    color: var(--mcv-green);
    font-family: 'Bubblegum Sans', cursive;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.mcv-card__button,
.mcv-card .mcv-button {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin-top: 6px;
    justify-content: center;
}

.mcv-button {
    display: inline-flex;
    width: fit-content;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid var(--mcv-green);
    border-radius: 4px;
    background: var(--mcv-green);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    padding: 15px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mcv-button:hover,
.mcv-button:focus {
    border-color: var(--mcv-green-dark);
    background: var(--mcv-green-dark);
    color: #ffffff;
    text-decoration: none;
}

.mcv-button--ghost {
    border-color: var(--mcv-green);
    background: #ffffff;
    color: var(--mcv-green);
}

.mcv-button--ghost:hover,
.mcv-button--ghost:focus {
    background: var(--mcv-green);
    color: #ffffff;
}

.mcv-empty {
    margin: 0;
    border-radius: 24px;
    background: var(--mcv-cream);
    color: var(--mcv-body);
    font-size: 20px;
    font-weight: 800;
    padding: 34px 38px;
}

.mcv-single {
    background: #ffffff;
    padding: 64px 0 96px;
}

.mcv-camper-detail {
    display: block;
}

.mcv-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 52px;
    align-items: start;
    margin-bottom: 68px;
}

.mcv-gallery {
    display: block;
}

.mcv-gallery button,
.mcv-gallery-grid__item {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.mcv-gallery__main,
.mcv-gallery__placeholder {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: 0;
    background: #ffffff;
}

.mcv-gallery__placeholder {
    display: grid;
    aspect-ratio: 1;
    min-height: 320px;
    place-items: center;
}

.mcv-gallery__main:focus-visible,
.mcv-gallery-grid__item:focus-visible {
    outline: 3px solid var(--mcv-green);
    outline-offset: 5px;
}

.mcv-gallery__main img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
}

.mcv-summary {
    display: grid;
    gap: 36px;
    background: #ffffff;
    padding: 8px 0 0;
}

.mcv-summary__headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: start;
}

.mcv-summary__heading-text {
    min-width: 0;
}

.mcv-summary__status {
    margin: 0 0 18px;
    color: var(--mcv-green);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.mcv-summary__status span {
    color: var(--mcv-muted);
}

.mcv-summary__title {
    margin: 0;
    color: var(--mcv-green);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
}

.mcv-summary__price {
    margin: 0;
    color: var(--mcv-green);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
}

.mcv-summary__teaser {
    max-width: 860px;
    margin: 14px 0 0;
    color: var(--mcv-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.mcv-summary__unavailable {
    margin: 0;
    border-radius: 4px;
    background: #fff3f3;
    color: #8a2d2d;
    font-weight: 800;
    padding: 15px 18px;
}

.mcv-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.mcv-section {
    margin-top: 58px;
    background: #ffffff;
    padding: 0;
}

.mcv-section h2 {
    margin: 0 0 16px;
    color: var(--mcv-green);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.mcv-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 58px;
    margin: 0;
}

.mcv-spec {
    display: grid;
    grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1.22fr);
    gap: 18px;
    align-items: start;
    min-width: 0;
    border-top: 1px solid var(--mcv-line);
    padding: 13px 0;
}

.mcv-spec:nth-child(1),
.mcv-spec:nth-child(2) {
    border-top: 0;
    padding-top: 0;
}

.mcv-spec dt {
    color: var(--mcv-green);
    font-weight: 800;
}

.mcv-spec dd {
    margin: 0;
    color: var(--mcv-body);
}

.mcv-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mcv-chip-list li {
    border-radius: 4px;
    background: var(--mcv-success-bg);
    color: var(--mcv-success-text);
    font-weight: 800;
    padding: 8px 12px;
}

.mcv-content {
    max-width: 1020px;
    color: var(--mcv-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.mcv-content h1,
.mcv-content h2,
.mcv-content h3,
.mcv-content h4,
.mcv-content h5,
.mcv-content h6 {
    color: var(--mcv-green);
    font-weight: 800;
}

.mcv-content a {
    color: var(--mcv-green);
}

.mcv-content > *:first-child,
.mcv-legal p:first-child {
    margin-top: 0;
}

.mcv-content > *:last-child,
.mcv-legal p:last-child {
    margin-bottom: 0;
}

.mcv-equipment-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 58px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mcv-equipment-list li {
    position: relative;
    color: var(--mcv-body);
    font-size: 14px;
    line-height: 1.4;
    padding: 4px 0 4px 22px;
}

.mcv-equipment-list li::before {
    position: absolute;
    top: 4px;
    left: 0;
    color: var(--mcv-body);
    content: "✓";
    font-weight: 800;
}

.mcv-gallery-section h2 {
    margin-bottom: 30px;
}

.mcv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.mcv-gallery-grid__item {
    display: block;
    overflow: hidden;
    border-radius: 0;
}

.mcv-gallery-grid__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    transition: opacity 180ms ease;
}

.mcv-gallery-grid__item:hover img {
    opacity: 0.82;
}

.mcv-legal {
    border-radius: 24px;
    background: var(--mcv-cream);
    color: var(--mcv-body);
    padding: 28px 32px;
}

.mcv-inquiry {
    margin-top: 82px;
}

.mcv-inquiry h2 {
    position: relative;
    margin: 0 0 24px;
    border-bottom: 3px solid var(--mcv-line);
    color: var(--mcv-green);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
}

.mcv-inquiry h2::after {
    position: absolute;
    right: 25%;
    bottom: -3px;
    left: 25%;
    height: 3px;
    background: var(--mcv-green);
    content: "";
}

.mcv-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 68px;
}

.mcv-form__field,
.mcv-form__privacy {
    margin: 0;
}

.mcv-form__field--wide,
.mcv-form__privacy,
.mcv-form .mcv-button,
.mcv-form-message {
    grid-column: 1 / -1;
}

.mcv-form label {
    display: grid;
    gap: 8px;
    color: var(--mcv-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.mcv-form input[type="text"],
.mcv-form input[type="email"],
.mcv-form input[type="tel"],
.mcv-form textarea {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    border: 2px solid var(--mcv-field);
    border-radius: 0;
    background: #ffffff;
    color: var(--mcv-body);
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 13px;
}

.mcv-form input::placeholder,
.mcv-form textarea::placeholder {
    color: #b7b7b7;
}

.mcv-form input:focus,
.mcv-form textarea:focus {
    border-color: var(--mcv-green);
    outline: 0;
}

.mcv-form textarea {
    min-height: 170px;
    resize: vertical;
}

.mcv-form__privacy label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--mcv-body);
    font-size: 13px;
    font-weight: 500;
}

.mcv-form__privacy input {
    margin-top: 5px;
}

.mcv-form .mcv-button {
    justify-self: start;
    margin-top: -10px;
}

.mcv-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mcv-form-message {
    border-radius: 4px;
    font-weight: 800;
    padding: 15px 18px;
}

.mcv-form-message--success {
    background: var(--mcv-success-bg);
    color: var(--mcv-success-text);
}

.mcv-form-message--error {
    background: #fff3f3;
    color: #8a2d2d;
}

.mcv-lightbox-open {
    overflow: hidden;
}

.mcv-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 24px;
}

.mcv-lightbox.is-open {
    display: flex;
}

.mcv-lightbox__figure {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    margin: 0;
}

.mcv-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    border-radius: 4px;
    object-fit: contain;
}

.mcv-lightbox__caption {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

.mcv-lightbox__close,
.mcv-lightbox__nav {
    position: absolute;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.mcv-lightbox__close {
    top: 20px;
    right: 20px;
}

.mcv-lightbox__nav--prev {
    left: 20px;
}

.mcv-lightbox__nav--next {
    right: 20px;
}

@media (max-width: 1180px) {
    .mcv-container {
        width: min(100% - 64px, 1800px);
    }

    .mcv-sales-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mcv-detail-hero {
        grid-template-columns: 1fr;
    }

    .mcv-summary {
        padding-top: 0;
    }

    .mcv-spec-grid,
    .mcv-equipment-list {
        grid-template-columns: 1fr;
    }

    .mcv-spec:nth-child(2) {
        border-top: 1px solid var(--mcv-line);
        padding-top: 13px;
    }

    .mcv-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .mcv-sales,
    .mcv-single {
        font-size: 14px;
    }

    .mcv-container {
        width: min(100% - 28px, 1800px);
    }

    .mcv-sales {
        padding-bottom: 38px;
    }

    .mcv-sales-heading {
        margin-bottom: 38px;
        border-radius: 22px;
        padding: 16px;
    }

    .mcv-sales-heading span {
        min-height: 48px;
        font-size: 16px;
        padding: 0 12px;
    }

    .mcv-sales-grid,
    .mcv-form,
    .mcv-gallery-grid {
        grid-template-columns: 1fr;
    }

    .mcv-sales-grid {
        gap: 32px;
    }

    .mcv-card {
        border-radius: 24px;
    }

    .mcv-card__link {
        gap: 22px;
        padding: 20px 20px 28px;
    }

    .mcv-card__title {
        font-size: 18px;
    }

    .mcv-card__teaser {
        font-size: 13px;
    }

    .mcv-card__facts {
        font-size: 13px;
    }

    .mcv-single {
        padding: 34px 0 58px;
    }

    .mcv-detail-hero {
        gap: 30px;
        margin-bottom: 42px;
    }

    .mcv-summary {
        gap: 24px;
    }

    .mcv-summary__headline {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mcv-summary__status {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .mcv-summary__title {
        font-size: 24px;
    }

    .mcv-summary__price {
        font-size: 20px;
        text-align: left;
        white-space: normal;
    }

    .mcv-summary__teaser,
    .mcv-content {
        font-size: 14px;
    }

    .mcv-section {
        margin-top: 38px;
    }

    .mcv-section h2 {
        font-size: 17px;
    }

    .mcv-spec {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .mcv-equipment-list li {
        font-size: 13px;
    }

    .mcv-legal {
        border-radius: 20px;
        padding: 22px;
    }

    .mcv-inquiry {
        margin-top: 48px;
    }

    .mcv-inquiry h2 {
        font-size: 17px;
    }

    .mcv-inquiry h2::after {
        right: 18%;
        left: 18%;
    }

    .mcv-form {
        gap: 24px;
    }

    .mcv-form label {
        font-size: 13px;
    }

    .mcv-form input[type="text"],
    .mcv-form input[type="email"],
    .mcv-form input[type="tel"],
    .mcv-form textarea {
        min-height: 42px;
        font-size: 13px;
    }

    .mcv-summary__actions,
    .mcv-button {
        width: 100%;
    }

    .mcv-form .mcv-button {
        justify-self: stretch;
    }

    .mcv-lightbox__nav {
        top: auto;
        bottom: 22px;
    }
}
