/* ==========================================================================
   RESPONSIVE — Mobile & Tablet (site-wide)
   Breakpoints: 1100 (tablet landscape) · 900 (tablet) · 768 (mobile) · 480 (small)
   ========================================================================== */

/* ── Startseite: Hero ── */
.hero-section .hero-content {
    flex: none;
    padding: clamp(1.5rem, 4vh, 2.5rem) 0;
    max-width: 520px;
    width: 100%;
    box-sizing: border-box;
}

.hero-eyebrow {
    font-size: 0.8rem;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1.2rem;
}

.hero-title {
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    hyphens: auto;
}

.hero-lead-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 400;
    margin: 0 0 2rem;
}

.hero-cta-wrap {
    margin-bottom: 1.25rem;
}

.hero-cta-btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: #fff;
    padding: 0.9rem 2.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-tagline-bottom {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
}

.hero-google-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1.25rem;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-google-trust:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-google-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

.hero-google-trust__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

.hero-google-trust__score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.hero-google-trust__score strong {
    font-weight: 800;
    font-size: 1.05rem;
}

.hero-google-trust__stars {
    color: #fbbc04;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.hero-google-trust__meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 2.5rem 1.25rem 1.1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    pointer-events: none;
}

.hero-image-caption__title {
    margin: 0 0 0.25rem;
    color: #fff;
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.hero-image-caption__meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (min-width: 1025px) {
    .hero-section .hero-text {
        align-items: flex-start;
    }

    .hero-section .hero-content {
        text-align: left;
    }
}

@media (max-width: 1024px) {
    .hero-section .hero-content {
        max-width: 640px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-section .hero-tagline-bottom {
        text-align: center;
    }

    .hero-section .hero-google-trust {
        align-self: center;
    }

    .hero-section .hero-google-trust__body {
        text-align: center;
        align-items: center;
    }

    .hero-eyebrow {
        margin-top: 0;
    }

    .hero-section .hero-title,
    .hero-section .hero-lead-text,
    .hero-section .hero-tagline-bottom {
        text-align: center;
    }

    .hero-section .hero-google-trust__score {
        justify-content: center;
    }

    .hero-image-caption {
        padding: 2rem 1rem 0.85rem;
        text-align: center;
    }

    .hero-image-caption__title {
        font-size: 0.78rem;
    }

    .hero-section .hero-image {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        align-items: stretch;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-google-trust {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.7rem 1rem;
    }

    .hero-section {
        padding-top: clamp(4rem, 10vw, 4.75rem);
    }

    .hero-text {
        padding: 1.25rem 5% 2rem !important;
    }

    .hero-image img {
        width: 100% !important;
        max-width: 100%;
        height: min(42vh, 300px) !important;
        min-height: 200px !important;
    }

    .hero-title {
        font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
    }

    .hero-lead-text {
        font-size: 0.98rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-wrap {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-cta-btn {
        display: block;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        text-align: center;
        padding: 1rem 1.25rem;
        box-sizing: border-box;
    }

    .hero-tagline-bottom {
        font-size: 0.72rem;
        line-height: 1.5;
        max-width: 320px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title br {
        display: none;
    }

    .hero-image img {
        height: min(38vh, 260px) !important;
    }

    .hero-tagline-bottom {
        font-size: 0.68rem;
        letter-spacing: 0;
    }
}

/* ── Startseite: Sections zentriert ── */
.home-main .home-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: clamp(3rem, 6vh, 5rem) 0;
    box-sizing: border-box;
}

.home-main .home-section > .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-main .home-section .section-headline-premium {
    text-align: center;
    width: 100%;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Startseite: alternierender Section-Rhythmus (weiß ↔ warm #F7F4EF) */
.home-main .services-section {
    background-color: #fff;
}

.home-main .about-section {
    background-color: var(--surface-warm, #F7F4EF);
}

.home-main .process-section {
    background-color: #fff;
    min-height: auto;
    justify-content: flex-start;
}

.home-main .gallery-section {
    background-color: #fff;
}

.home-main .testimonials-section {
    background-color: var(--surface-warm, #F7F4EF);
}

.home-main .home-section--faq {
    background-color: #fff;
}

/* Google trust badge (Testimonials) */
.google-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--surface-ivory, #faf8f5);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.google-trust-badge-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.google-trust-badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 106, 43, 0.25);
}

.google-trust-badge__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.google-trust-badge__score-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.google-trust-badge .trust-score {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-heading);
}

.google-trust-badge .trust-stars {
    color: #FBBC04;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.google-trust-badge__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Contact section — subtle break before footer (light, harmonisch, nicht Footer-Grün) */
.home-main .contact-section--accent {
    background: linear-gradient(180deg, #f3f0ea 0%, #f8f6f2 100%);
    padding: clamp(2.25rem, 4vw, 3.5rem) 0;
    position: relative;
}

.home-main .contact-section--accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 106, 43, 0.22) 50%, transparent 100%);
    pointer-events: none;
}

.home-main .contact-section--accent .contact-layout {
    text-align: left;
    align-items: center;
}

.home-main .contact-section--accent .contact-info-column {
    text-align: left;
}

.home-main .contact-section--accent .contact-section__headline {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-heading, #111827);
    text-align: left;
}

.contact-section--accent .contact-section__lead {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-body, #374151);
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: flex-start;
    text-align: left;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 38, 28, 0.1);
    color: var(--brand-primary);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(22, 38, 28, 0.04);
}

.contact-detail-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(22, 38, 28, 0.12);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary, #6b7280);
}

.contact-detail-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary, #111827);
    text-decoration: none;
}

a.contact-detail-value:hover {
    color: var(--accent-orange, #c96a2b);
}

.home-main .contact-section--accent .contact-modern-card {
    box-shadow: 0 24px 48px rgba(22, 38, 28, 0.08);
    border-color: rgba(22, 38, 28, 0.08);
}

.home-main .premium-services-grid,
.home-main .home-gallery-grid,
.home-main .testimonials-grid,
.home-main .process-flow,
.home-main .process-cards {
    width: 100%;
}

.home-main .about-layout {
    width: 100%;
    text-align: center;
    justify-items: center;
}

.home-main .about-text-content {
    text-align: center;
}

.home-main .about-text-content h2,
.home-main .about-text-content > p {
    margin-left: auto;
    margin-right: auto;
}

.home-main .about-features-grid {
    justify-items: center;
}

.home-main #faq > .container {
    max-width: 800px;
    width: 100%;
}

.home-main #faq details {
    text-align: left;
    width: 100%;
}

.home-main .contact-layout {
    width: 100%;
    text-align: center;
}

.home-main .contact-info-column {
    text-align: center;
}

.home-main .contact-info-column p {
    margin-left: auto;
    margin-right: auto;
}

.home-main .gallery-section .container > div:first-child {
    text-align: center;
    width: 100%;
}

.home-main .gallery-section .container > div:first-child p {
    margin-left: auto;
    margin-right: auto;
}

.home-main .contact-info-column > div > div {
    justify-content: center;
}

.home-main .contact-section--accent .contact-info-column > .contact-details-list .contact-detail-row {
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .home-main .contact-section--accent .contact-info-column,
    .home-main .contact-section--accent .contact-section__headline,
    .home-main .contact-section--accent .contact-section__lead {
        text-align: left;
        align-items: flex-start;
    }

    .home-main .contact-section--accent .contact-section__lead {
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .home-main .about-image-container {
        max-width: min(100%, 340px);
        margin: 0 auto;
    }

    .home-main .about-metrics-row {
        text-align: center;
    }
}

/* ── Homepage sections: no forced full-viewport height on small screens ── */
@media (max-width: 1024px) {
    .home-main .home-section {
        min-height: auto;
        padding: clamp(2.5rem, 6vw, 4rem) 0;
    }
}

/* ── Services grid (4 cards) ── */
.premium-services-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .premium-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
    }

    .premium-service-card {
        aspect-ratio: 4 / 5;
    }

    .premium-service-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 520px) {
    .premium-services-grid {
        grid-template-columns: 1fr !important;
    }

    .premium-service-card {
        aspect-ratio: 16 / 11;
        max-height: 320px;
    }
}

/* ── About layout ── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        transform: none !important;
    }

    .about-features-grid {
        grid-template-columns: 1fr !important;
    }

    .about-metrics-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .about-text-content h2 {
        font-size: inherit !important;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-layout {
        gap: 2.5rem;
    }
}

/* ── Process flow (Startseite + Unterseiten) ── */
.process-flow {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 920px;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 12.5%;
    right: 12.5%;
    height: 0.5px;
    background: var(--brand-border, #e5e7eb);
    z-index: 0;
    pointer-events: none;
}

.process-flow__step {
    padding: 0 0.75rem;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-flow__marker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0.5rem;
    width: 100%;
}

.process-flow__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #111827;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading, #111827);
    line-height: 1;
    flex-shrink: 0;
    text-align: center;
}

.process-flow__title {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-orange, #c96a2b);
    letter-spacing: -0.01em;
    width: 100%;
}

.process-flow__desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary, #6b7280);
    width: 100%;
}

@media (max-width: 699px) {
    .process-flow {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .process-flow::before {
        top: 18px;
        bottom: 18px;
        left: 50%;
        right: auto;
        width: 0.5px;
        height: auto;
        transform: translateX(-50%);
    }

    .process-flow__step {
        padding: 0 0.75rem;
        text-align: center;
        align-items: center;
    }

    .process-flow__marker {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

.home-main .process-flow {
    width: 100%;
}

.section#ablauf .process-flow,
.section .process-flow {
    margin-top: 0.25rem;
}

/* ── Gallery teaser (index) — 6 Highlights, 3×2 ── */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.85rem, 1.5vw, 1.25rem);
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.home-gallery-grid .gallery-item,
.home-gallery-grid .home-gallery-teaser {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem;
        max-width: 100%;
    }

    .home-gallery-grid .gallery-item,
    .home-gallery-grid .home-gallery-teaser {
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }
}

.gallery-grid:not(.home-gallery-grid) {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .section-header-flex {
        margin-bottom: 2rem !important;
    }
}

/* ── Contact (index) ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .contact-info-column .section-headline-premium {
        font-size: clamp(1.85rem, 5vw, 2.5rem) !important;
    }

    .contact-modern-card {
        padding: 1.75rem !important;
    }
}

/* ── FAQ (Startseite) ── */
.faq-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .home-main #faq summary {
        font-size: 1rem !important;
        padding: 1rem !important;
    }

    .home-main #faq .section-header {
        margin-bottom: 2rem !important;
    }
}

/* ── Navbar CTAs (tablet / desktop) ── */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav-links {
        gap: 1.75rem;
    }

    .nav-cta-group {
        gap: 0.65rem;
    }

    .nav-cta-btn {
        padding: 0.55rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 1100px) {
    .nav-cta-group {
        gap: 0.5rem;
    }

    .nav-cta-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 900px) {
    .nav-cta-btn:not(.nav-cta-phone) span {
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ── Service & boden subpages (shared class patterns) ── */
@media (max-width: 1100px) {
    .vergleich-section__intro h2,
    .vergleich-section__intro .lead {
        white-space: normal !important;
    }

    .split-screen,
    .split-screen--reverse,
    .conversion-grid,
    .compare-grid,
    .compare-visual {
        grid-template-columns: 1fr !important;
    }

    .split-screen--reverse .split-img,
    .split-screen--reverse .split-body {
        order: unset !important;
    }

    .split-img {
        min-height: 240px !important;
    }

    .split-img img {
        min-height: 240px !important;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
    }

    .conversion-zone {
        padding: 3rem 5% !important;
    }

    .conversion-grid h2 {
        font-size: clamp(1.45rem, 4vw, 1.85rem) !important;
    }
}

@media (max-width: 900px) {
    .boden-page .hero,
    .hero {
        min-height: 100svh !important;
        height: 100svh !important;
        padding: calc(80px + 1.5rem) 0 2rem !important;
        align-items: center;
    }

    .hero-inner {
        padding: 0 5% !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
        text-align: center;
    }

    .compare-table {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .ba-slider {
        width: 100% !important;
        max-height: min(55svh, 420px) !important;
    }

    .loft-feature-inner {
        padding: 2rem 5% !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }

    .conv-form input,
    .conv-form textarea,
    .contact-modern-card input,
    .contact-modern-card textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .modal-content {
        width: calc(100% - 1.5rem) !important;
        max-width: none !important;
        margin: 0.75rem !important;
        padding: 1.5rem 1.25rem !important;
        max-height: calc(100svh - 1.5rem);
        overflow-y: auto;
    }

    .modal-form-row {
        flex-direction: column !important;
    }
}

/* ── Boden tables: horizontal scroll on narrow screens ── */
@media (max-width: 768px) {
    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table {
        min-width: 520px;
    }

    th,
    td {
        padding: 0.75rem 0.85rem !important;
        font-size: 0.82rem !important;
    }

    .cta-banner {
        padding: 2rem 1.25rem !important;
    }

    .cta-banner .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-banner div[style*="flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .service-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .zusatz-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── Gallery page (filter scroll handled in gallery.css) ── */
@media (max-width: 768px) {
    .gallery-page .gallery-header {
        text-align: left;
    }

    .gallery-title {
        font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
    }
}

/* ── Legal / utility pages ── */
@media (max-width: 768px) {
    .container[style*="max-width: 800px"],
    .container[style*="max-width:800px"] {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
}

/* ── Sticky bar: unified body padding (see layout.css for bar styles) ── */
@media (max-width: 768px) {
    body.has-mobile-sticky-bar {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}

/* ── Touch targets ── */
@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 4%;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .msb-btn {
        min-height: 64px;
    }

    details summary {
        min-height: 44px;
    }
}

/* ── Fix comparison-grid (was flex-direction on grid) ── */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
}
