/* ========================================================================
   Responsive Styles
 ========================================================================== */

/* Hamburger-Menü: ≤ 1199px */
@media (max-width: 1199px) {
    /* Mobile Navigation */
    .leda-nav {
        display: none;
    }

    .leda-nav-toggle {
        display: block;
    }

    .leda-header-actions {
        gap: 1rem;
    }

    .leda-header .leda-container .leda-header-actions .leda-dealer-link {
        display: none;
    }
}

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    h1, .h1 { font-size: 2.6rem; line-height: 3.2rem; }
    h2, .h2 { font-size: 2.2rem; line-height: 2.8rem; }
    h3, .h3 { font-size: 1.6rem; line-height: 2rem; }

    .leda-quote {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leda-promise-boxes {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leda-variety {
        grid-template-columns: 1fr;
    }

    .leda-stories-grid {
        grid-template-columns: 1fr;
    }

/*
    .leda-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
 */
    .leda-footer-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .leda-footer-column {
        grid-column: span 3;
    }

    .leda-footer-claim {
        grid-column: 1 / 7; /* Volle Breite */
        text-align: center;
        align-items: center;
        margin-top: 2rem;
    }
}

/* Mobile: ≤ 767px */
@media (max-width: 767px) {
    body { font-size: 18px; }

    h1, .h1 { font-size: 2rem; line-height: 2.4rem; }
    h2, .h2 { font-size: 1.8rem; line-height: 2.2rem; }
    h3, .h3 { font-size: 1.4rem; line-height: 1.8rem; }
    h4, .h4 { font-size: 1.2rem; line-height: 1.6rem; }

    :root {
        --section-margin: 4rem;
        --section-padding: 2rem;
    }

    .leda-container {
        padding: 0 1.5rem;
    }

    /* Hero */
    .leda-hero {
        height: 60vh;
        min-height: 400px;
    }

    .leda-hero-textbox {
        padding: 2rem;
        max-width: 100%;
    }

    .leda-hero-textbox h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    /* Quote */
    .leda-quote-text {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }

    /* Footer */
    .leda-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leda-footer-column {
        grid-column: 1;
    }

    .leda-footer-claim {
        grid-column: 1;
    }

    .leda-footer-claim img {
        max-width: 100%;
        width: 100%;
    }

    .leda-footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .leda-footer-menu {
        flex-direction: column;
        gap: 0.8rem;
    }

    /* Contact Float */
    .leda-contact-float {
        bottom: 1rem;
        right: 1rem;
    }

    .leda-contact-btn {
        width: 50px;
        height: 50px;
    }
}

/* Small Mobile: ≤ 480px */
@media (max-width: 480px) {
    .leda-promise-box {
        padding: 2rem 1.5rem;
    }

    .leda-dealer-box {
        padding: 2rem;
    }

    .leda-story-content {
        padding: 1.5rem;
    }
}


/* Responsive images mit Fluid Styled Content */
.ce-gallery img {display: unset;}
.ce-intext [data-ce-columns="1"],
.ce-intext [data-ce-columns="2"],
.ce-intext [data-ce-columns="3"],
.ce-intext [data-ce-columns="4"] {
    width: 100%;
}

.ce-intext [data-ce-columns="2"] .ce-column,
.ce-center [data-ce-columns="2"] .ce-column {
    width: 48%;
    margin-right: 2%;
}

.ce-intext [data-ce-columns="3"] .ce-column,
.ce-center [data-ce-columns="3"] .ce-column {
    width: 31%;
    margin-right: 2%;
}

.ce-intext [data-ce-columns="4"] .ce-column,
.ce-center [data-ce-columns="4"] .ce-column {
    width: 23%;
    margin-right: 2%;
}

.ce-intext.ce-right .ce-gallery {
    margin-left: 0;
}

.ce-intext.ce-left .ce-gallery {
    margin-right: 0;
}

.ce-textpic,
.ce-image,
.ce-nowrap .ce-bodytext,
.ce-uploads li,
.ce-uploads div {
    overflow: visible;
}
@media screen and (min-width: 601px) {
    .ce-intext [data-ce-columns="1"],
    .ce-intext [data-ce-columns="2"],
    .ce-intext [data-ce-columns="3"],
    .ce-intext [data-ce-columns="4"] {
        width: 50%;
    }
    .ce-intext.ce-right .ce-gallery {
        margin-left: 1rem;
    }
    .ce-intext.ce-left .ce-gallery {
        margin-right: 1rem;
    }
    .ce-textpic,
    .ce-image,
    .ce-nowrap .ce-bodytext,
    .ce-uploads li,
    .ce-uploads div {
        overflow: hidden;
    }
}

/* Bootstrap-kompatible Klasse für responsive Bilder */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Videos mit Fluid Styled Content */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
}

.ce-center:has(.video-embed) .ce-inner {
    position: relative;
    float: none;
    right: -50%;
}

.ce-left:has(.video-embed) .ce-gallery,
.ce-column:has(.video-embed) {
    float: none;
}

.ce-center:has(.video-embed) .ce-outer {
    position: relative;
    float: none;
    right: 50%;
}
