/*
Theme Name: H-DESIGN Werbetechnik
Theme URI: https://h-design-werbetechnik.de
Author: H-DESIGN
Description: Premium dark mode WordPress theme for Werbetechnik & Fahrzeugfolierung.
Version: 2.0.0
Text Domain: hdesign
*/

:root {
    --bg-main: #0F1115;
    --bg-card: #1A202C;
    --bg-card-hover: #222938;
    --accent-red: #E53E3E;
    --accent-red-hover: #C53030;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --border-color: #2D3748;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-card: 0 10px 25px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 15px rgba(229, 62, 62, 0.4);
}

/* Reset & Basics */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

a { color: var(--text-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-red); }

::selection { background: var(--accent-red); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

/* Layout Classes */
.h-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.h-section { padding: 80px 0; position: relative; }

.h-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.h-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.h-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Header & Nav */
.h-site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(15, 17, 21, 0.72) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 16px 0 !important;
}

.h-site-header.shrink {
    padding: 8px 0 !important;
    background: rgba(10, 12, 16, 0.88) !important;
    backdrop-filter: blur(24px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
    border-bottom-color: rgba(229, 62, 62, 0.3) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(229, 62, 62, 0.4) !important;
}

.h-site-header.shrink .site-logo img {
    transform: scale(0.92) !important;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.site-logo { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.site-logo span { color: var(--accent-red); }
.site-logo svg { width: 30px; height: 30px; fill: var(--accent-red); }

.site-logo img {
    height: 75px !important;
    max-height: 75px !important;
    width: auto !important;
    max-width: 320px !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7)) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.main-navigation > ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; align-items: center; }
.main-navigation a { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #FFFFFF; }
.main-navigation a:hover { color: #E53E3E; }
.main-navigation li.menu-item-has-children { position: relative; }

/* Ultra-Sleek Desktop Dropdown Card */
.main-navigation .sub-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #1A202C !important;
    min-width: 270px !important;
    width: 270px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    transition: all 0.3s ease !important;
    border-top: 3px solid #E53E3E !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.85) !important;
    z-index: 9999 !important;
}

.main-navigation li.menu-item-has-children:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.main-navigation .sub-menu li {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    width: 100% !important;
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none !important;
}

.main-navigation .sub-menu a {
    display: block !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #CBD5E0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
    white-space: normal !important;
}

.main-navigation .sub-menu a:hover {
    color: #E53E3E !important;
    background: rgba(229, 62, 62, 0.1) !important;
    padding-left: 25px !important;
}

.header-cta { display: flex; align-items: center; }
.h-mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

.btn-primary-red,
.btn-outline-dark,
.elementor-button,
.btn-next,
.btn-prev {
    display: inline-block !important;
    background: #E53E3E !important;
    color: #FFFFFF !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: 0 0 15px rgba(229, 62, 62, 0.5) !important;
    text-align: center !important;
    text-decoration: none !important;
}

/* ==========================================================================
   MOBILE STICKY 3D NOTEBOOK CARD STACK FLIP ENGINE
   ========================================================================== */
@media (max-width: 992px) {
    .h-card-stack-deck {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding-bottom: 40px !important;
    }

    .h-card-stack-deck > .h-card-dark {
        position: sticky !important;
        box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 62, 62, 0.25) !important;
        border: 1px solid #2D3748 !important;
        border-radius: 18px !important;
        background: #14171E !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
        overflow: hidden !important;
    }

    .h-card-stack-deck > .h-card-dark:nth-child(1) { top: 90px !important; z-index: 1; }
    .h-card-stack-deck > .h-card-dark:nth-child(2) { top: 110px !important; z-index: 2; }
    .h-card-stack-deck > .h-card-dark:nth-child(3) { top: 130px !important; z-index: 3; }
    .h-card-stack-deck > .h-card-dark:nth-child(4) { top: 150px !important; z-index: 4; }
    .h-card-stack-deck > .h-card-dark:nth-child(5) { top: 170px !important; z-index: 5; }
    .h-card-stack-deck > .h-card-dark:nth-child(6) { top: 190px !important; z-index: 6; }
}

/* Sleek Search Button Styles */
.search-submit,
input[type="submit"].search-submit,
button.search-submit,
#searchsubmit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #E53E3E !important;
    color: #FFFFFF !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(229, 62, 62, 0.4) !important;
    cursor: pointer !important;
    height: auto !important;
    width: auto !important;
}

.btn-primary-red:hover,
.btn-outline-dark:hover,
.elementor-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-next:hover,
.btn-prev:hover {
    background: #C53030 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(229, 62, 62, 0.85) !important;
}

/* Components */
.h-hero { min-height: 80vh; display: flex; align-items: center; position: relative; padding-top: 100px; background-size: cover; background-position: center; }
.h-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,17,21,0.95) 0%, rgba(15,17,21,0.7) 100%); }
.h-hero .h-container { position: relative; z-index: 1; }
.h-hero h1 { font-size: 4rem; margin-bottom: 20px; }
.h-hero p { font-size: 1.2rem; max-width: 600px; margin-bottom: 30px; color: var(--text-secondary); }

.red-accent-line { width: 60px; height: 4px; background: var(--accent-red); margin: 0 0 20px 0; }

.h-card-dark {
    background: var(--bg-card); border-radius: 8px; padding: 40px 30px;
    border: 1px solid var(--border-color); transition: var(--transition);
    height: 100%; display: flex; flex-direction: column;
}

/* LOCK 4 PILLARS CARDS ON MOBILE TO HORIZONTAL COMPACT CAPSULES */
@media (max-width: 768px) {
    .h-hero .h-grid-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .h-hero .h-grid-4 .h-card-dark {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 12px 14px !important;
        text-align: left !important;
        min-height: auto !important;
        height: auto !important;
    }

    .h-hero .h-grid-4 .h-card-dark span,
    .h-hero .h-grid-4 .h-card-dark svg {
        font-size: 22px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        width: 26px !important;
        height: 26px !important;
        flex-shrink: 0 !important;
    }

    .h-hero .h-grid-4 .h-card-dark strong {
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
}

/* GLOBAL ICON & SVG SIZE LOCK (PREVENTS INFLATED/GIANT ICONS ON MOBILE) */
.h-card-dark svg,
.h-section svg,
.h-hero svg {
    max-width: 44px !important;
    max-height: 44px !important;
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.h-hero .h-grid-4 .h-card-dark svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

div[style*="font-size: 40px"],
div[style*="font-size: 50px"] {
    font-size: 32px !important;
    line-height: 1 !important;
}

.h-card-stack-deck > .h-card-dark {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    transform-origin: center bottom;
    will-change: transform, opacity;
}
.h-card-stack-deck > .h-card-dark:hover {
    border-color: #E53E3E !important;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.25) !important;
}
.h-card-dark:hover {
    background: var(--bg-card-hover); transform: translateY(-5px);
    border-color: rgba(229, 62, 62, 0.3); box-shadow: var(--shadow-card);
}
.h-card-dark h3 { font-size: 1.2rem; margin-bottom: 15px; }

.h-icon-box i, .h-icon-box svg { font-size: 32px; color: var(--accent-red); margin-bottom: 20px; width: 32px; height: 32px; }

/* Process Steps */
.h-process-steps { display: flex; justify-content: space-between; position: relative; margin: 40px 0; }
.h-process-steps::before { content: ''; position: absolute; top: 30px; left: 0; width: 100%; height: 2px; background: var(--border-color); z-index: 1; }
.step-item { flex: 1; text-align: center; position: relative; z-index: 2; padding: 0 15px; }
.step-number { width: 60px; height: 60px; background: var(--bg-card); border: 2px solid var(--accent-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: #fff; box-shadow: var(--bg-main) 0 0 0 10px; }
.step-item h4 { font-size: 1.1rem; }

/* Stats Bar */
.h-stats-bar { background: var(--bg-card); padding: 40px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 3rem; font-family: var(--font-heading); font-weight: 800; color: var(--accent-red); line-height: 1; margin-bottom: 10px; }
.stat-label { text-transform: uppercase; font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; color: #fff; }

/* CTA Banner */
.h-cta-banner { background: linear-gradient(135deg, var(--bg-card) 0%, #2a0808 100%); padding: 80px 0; text-align: center; border-top: 1px solid var(--accent-red); border-bottom: 1px solid var(--accent-red); }
.h-cta-banner h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* Forms */
.h-form input, .h-form select, .h-form textarea {
    width: 100%; padding: 15px; background: rgba(0,0,0,0.2); border: 1px solid var(--border-color);
    color: #fff; border-radius: 4px; font-family: var(--font-body); margin-bottom: 15px; transition: var(--transition);
}
.h-form input:focus, .h-form select:focus, .h-form textarea:focus { outline: none; border-color: var(--accent-red); box-shadow: inset 0 0 5px rgba(229,62,62,0.2); }

/* Footer */
.h-footer { background: #0a0c10; padding-top: 80px; border-top: 1px solid var(--border-color); }
.footer-widget h4 { font-size: 1.1rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent-red); }
.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 10px; }
.footer-widget ul li a { color: var(--text-secondary); }
.footer-widget ul li a:hover { color: var(--accent-red); padding-left: 5px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 18px; }
.social-icons a:hover { background: var(--accent-red); color: #fff; transform: translateY(-3px); }
.sub-footer { margin-top: 60px; padding: 20px 0; border-top: 1px solid var(--border-color); text-align: center; font-size: 14px; }
.sub-footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 10px; }

/* WhatsApp Float */
.h-whatsapp-btn {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background: #25D366; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 999; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}
.h-whatsapp-btn:hover { background: #1ebd5a; color: #fff; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.animate-fade-up { opacity: 0; animation: fadeInUp 0.8s ease forwards; }

/* ==========================================================================
   MASTER RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET & SMALL SCREENS)
   ========================================================================== */

/* Max Width 1200px (Laptops & Small Desktops) */
@media (max-width: 1200px) {
    .h-hero h1 { font-size: 3.2rem !important; }
}

/* Max Width 992px (Tablets & Landscape Mobile) */
@media (max-width: 992px) {
    .h-container { padding: 0 20px !important; }
    .h-hero { min-height: 75vh !important; padding-top: 110px !important; }
    .h-hero h1 { font-size: 2.6rem !important; line-height: 1.25 !important; }
    
    /* Header Responsive Layout */
    .h-site-header { padding: 15px 0 !important; }
    .header-inner { display: flex !important; justify-content: space-between !important; align-items: center !important; }
    
    /* ==========================================================================
       ULTRA-LUXURY FULLSCREEN MOBILE NAVIGATION DRAWER
       ========================================================================== */
    .main-navigation {
        display: none !important;
    }

    .main-navigation.is-active {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: fixed !important;
        top: 75px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 75px) !important;
        background: rgba(12, 14, 18, 0.99) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        padding: 30px 25px 40px 25px !important;
        box-sizing: border-box !important;
        box-shadow: inset 0 2px 15px rgba(0, 0, 0, 0.95) !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .main-navigation.is-active ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .main-navigation.is-active > ul > li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .main-navigation.is-active > ul > li > a {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        transition: color 0.25s ease !important;
    }

    .main-navigation.is-active > ul > li > a:hover,
    .main-navigation.is-active > ul > li.is-open > a {
        color: #E53E3E !important;
    }

    /* Inline Mobile Sub-menu (No floating overlays!) */
    .main-navigation.is-active .sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(229, 62, 62, 0.05) !important;
        border-top: none !important;
        border-left: 3px solid #E53E3E !important;
        border-radius: 0 8px 8px 0 !important;
        padding: 10px 0 10px 18px !important;
        margin: 5px 0 15px 0 !important;
        box-shadow: none !important;
    }

    .main-navigation.is-active .menu-item-has-children.is-open > .sub-menu {
        display: block !important;
    }

    .main-navigation.is-active .sub-menu li {
        border-bottom: none !important;
    }

    .main-navigation.is-active .sub-menu a {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #CBD5E0 !important;
        padding: 8px 0 !important;
        text-transform: none !important;
        letter-spacing: 0.5px !important;
    }

    .main-navigation.is-active .sub-menu a:hover {
        color: #E53E3E !important;
        background: transparent !important;
    }

    /* Accordion Arrow Indicator */
    .main-navigation.is-active .menu-item-has-children > a::after {
        content: '+' !important;
        color: #E53E3E !important;
        font-size: 20px !important;
        font-weight: 900 !important;
        transition: transform 0.3s ease !important;
    }

    .main-navigation.is-active .menu-item-has-children.is-open > a::after {
        content: '−' !important;
        transform: scale(1.2) !important;
    }

    /* Mobile Hamburger & Sparkling Red Close Icon */
    .h-mobile-toggle {
        display: flex !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: rgba(229, 62, 62, 0.15) !important;
        border: 1px solid rgba(229, 62, 62, 0.5) !important;
        color: #FFFFFF !important;
        font-size: 22px !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 0 15px rgba(229, 62, 62, 0.2) !important;
        cursor: pointer !important;
    }

    .h-mobile-toggle.is-active {
        background: linear-gradient(135deg, #FF2E4C 0%, #E53E3E 50%, #A61C1C 100%) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        color: #FFFFFF !important;
        font-size: 20px !important;
        font-weight: 900 !important;
        box-shadow: 0 0 30px rgba(229, 62, 62, 0.95), 0 0 50px rgba(229, 62, 62, 0.6) !important;
        transform: rotate(90deg) scale(1.08) !important;
    }

    /* Grids & Flex Containers */
    .h-grid-4, .h-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .h-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

/* Max Width 768px (Mobile Portrait - iPhones & Androids) */
@media (max-width: 768px) {
    .h-section { padding: 40px 0 !important; }
    .h-hero { min-height: 70vh !important; padding-top: 105px !important; padding-bottom: 50px !important; }
    
    .h-hero h1,
    .h-hero h1 span,
    h1,
    h1 span {
        font-size: 1.6rem !important;
        line-height: 1.22 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .h-hero p {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }

    /* All Grids Collapse to Single Column */
    .h-grid-4, .h-grid-3, .h-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Card Padding & Image Heights */
    .h-card-dark { padding: 25px 20px !important; }
    .h-card-dark img { height: 240px !important; }

    /* Headings Responsive Sizing */
    h2, .h-section h2, div[style*="font-size: 2.8rem"], div[style*="font-size: 44px"] {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    h3, div[style*="font-size: 2.2rem"], div[style*="font-size: 36px"] {
        font-size: 1.3rem !important;
    }

    /* Buttons Full Width on Mobile */
    .btn-primary-red svg,
    .btn-outline-dark svg,
    .btn-outline-red svg,
    a.btn-primary-red svg,
    a.btn-outline-dark svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }
    .btn-primary-red, .btn-outline-dark, .elementor-button {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 14px 20px !important;
    }

    /* Multi-Step Form Responsive Fixes */
    .h-form { padding: 20px 15px !important; }
    .h-form input, .h-form select, .h-form textarea { padding: 12px !important; font-size: 14px !important; }

    /* Footer Responsive Inline Legal Links */
    .sub-footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 15px !important;
    }
    .h-whatsapp-btn { bottom: 20px !important; right: 20px !important; width: 50px !important; height: 50px !important; font-size: 24px !important; }
}

/* Max Width 480px (Extra Small Mobile Screens) */
@media (max-width: 480px) {
    .h-hero h1,
    .h-hero h1 span,
    h1,
    h1 span {
        font-size: 1.38rem !important;
        line-height: 1.2 !important;
    }
    .site-logo { font-size: 18px !important; }
}

/* ==========================================================================
   HOMEPAGE SPECIFIC MOBILE POLISH ENGINE (< 768px & < 480px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hero Section Mobile Polish */
    .h-hero {
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
        background-position: center top !important;
    }

    .h-hero h1,
    .h-hero h1 span {
        font-size: 1.6rem !important;
        line-height: 1.22 !important;
        margin-bottom: 18px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .h-hero p {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }

    /* Top Pill Badge Mobile */
    div[style*="border-radius: 50px"] {
        padding: 6px 14px !important;
        margin-bottom: 18px !important;
        max-width: 100% !important;
    }

    div[style*="border-radius: 50px"] span {
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }

    /* Dual Buttons on Mobile */
    .h-hero div[style*="display: flex; gap: 20px"] {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .h-hero .btn-primary-red,
    .h-hero .btn-outline-dark {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
    }

    /* Trust Badges Mobile Grid */
    div[style*="border-top: 1px solid rgba(255,255,255,0.12)"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        padding-top: 20px !important;
    }

    div[style*="border-top: 1px solid rgba(255,255,255,0.12)"] > div {
        gap: 8px !important;
    }

    div[style*="border-top: 1px solid rgba(255,255,255,0.12)"] strong {
        font-size: 12px !important;
    }

    div[style*="border-top: 1px solid rgba(255,255,255,0.12)"] span {
        font-size: 11px !important;
    }

    /* ALLES RUND UM FOLIE Section Mobile */
    div[style*="gap: 50px"] {
        gap: 25px !important;
        margin-bottom: 45px !important;
    }

    div[style*="gap: 50px"] h3 {
        font-size: 1.6rem !important;
    }

    div[style*="gap: 50px"] img {
        height: 220px !important;
    }

    /* UNSERE ARBEITEN (Portfolio Showcase) Mobile */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    div[style*="height: 210px"],
    div[style*="height: 200px"] {
        height: 180px !important;
    }

    .h-card-dark img[alt*="Porsche"] {
        min-height: 240px !important;
        height: 240px !important;
    }
}

/* 5-Step Process Responsive Grid System */
.h-grid-5-step {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .h-grid-5-step,
    div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 600px) {
    .h-grid-5-step,
    div[style*="grid-template-columns: repeat(5, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .h-grid-5-step .h-card-dark,
    div[style*="grid-template-columns: repeat(5, 1fr)"] .h-card-dark {
        padding: 20px 15px !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }
}

/* LUXURY BRAND LOGOS STRIP SECTION */
.h-brand-strip {
    background: #0A0C10 !important;
    border-top: 1px solid #1A202C !important;
    border-bottom: 1px solid #2D3748 !important;
    padding: 30px 0 !important;
    position: relative !important;
}

.h-brand-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: center !important;
}

.h-brand-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.h-brand-card:hover {
    background: rgba(229, 62, 62, 0.08) !important;
    border-color: #E53E3E !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(229, 62, 62, 0.25) !important;
}

.h-brand-title {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.h-google-badge-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

.h-google-badge-link:hover {
    transform: translateY(-2px) !important;
}

.h-brand-sub {
    color: #E53E3E !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

@media (max-width: 992px) {
    .h-brand-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .h-brand-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .h-brand-card {
        padding: 12px 10px !important;
    }
    .h-brand-title {
        font-size: 12px !important;
    }
}

/* FORM & QUOTE CALCULATOR RESPONSIVE STYLING */
.h-form {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 40px !important;
    border-radius: 12px !important;
    background: #0F1115 !important;
    border: 1px solid #2D3748 !important;
}

.h-form label {
    display: block !important;
    color: #E2E8F0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    font-family: Montserrat, sans-serif !important;
}

.h-form input[type="text"],
.h-form input[type="email"],
.h-form input[type="tel"],
.h-form select,
.h-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #1A202C !important;
    border: 1px solid #2D3748 !important;
    color: #FFFFFF !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    margin-bottom: 18px !important;
}

.h-form input:focus,
.h-form select:focus,
.h-form textarea:focus {
    border-color: #E53E3E !important;
    box-shadow: 0 0 12px rgba(229, 62, 62, 0.35) !important;
    outline: none !important;
}

@media (max-width: 768px) {
    .h-form {
        padding: 25px 18px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .h-form .h-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .h-form button.btn-primary-red,
    .h-form button.btn-outline-dark {
        width: 100% !important;
        display: block !important;
        padding: 16px !important;
        margin-top: 10px !important;
        text-align: center !important;
    }

    .h-form div[style*="display:flex; justify-content:space-between"] {
        flex-direction: column-reverse !important;
        gap: 10px !important;
    }
}

/* ==========================================================================
   MASTER UNIVERSAL MOBILE POLISH ENGINE (ALL 20 PAGES RESPONSIVE DESIGN)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Global Containers & Section Padding */
    .h-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .h-section,
    section[class*="h-section"] {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    /* 2. Hero Section Mobile Optimization */
    .h-hero,
    section[class*="h-hero"] {
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }

    .h-hero h1,
    section[class*="h-hero"] h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 18px !important;
    }

    .h-hero p,
    section[class*="h-hero"] p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
    }

    .h-hero div[style*="display: flex; gap: 20px"],
    section[class*="h-hero"] div[style*="display: flex; gap: 20px"] {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .h-hero a.btn-primary-red,
    .h-hero a.btn-outline-dark,
    section[class*="h-hero"] a.btn-primary-red,
    section[class*="h-hero"] a.btn-outline-dark {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
        text-align: center !important;
        padding: 16px 20px !important;
        font-size: 15px !important;
    }

    .h-hero div[style*="border-top: 1px solid"],
    section[class*="h-hero"] div[style*="border-top: 1px solid"] {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
        margin-top: 30px !important;
        padding-top: 20px !important;
    }

    /* 3. Typography scaling on Mobile */
    h2, .h2 {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }

    h3, .h3 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    /* 4. Grids & Flex Layout Collapse */
    .h-grid-3,
    .h-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .h-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }

@media (max-width: 650px) {
    .h-grid-2,
    .h-grid-3,
    .h-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

    /* 5. Cards & Showcase Images */
    .h-card-dark {
        padding: 24px 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .h-card-dark img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    /* 6. Stats Bar Mobile Grid */
    .h-stats-bar .h-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    /* 7. Header Logo on Mobile */
    .site-logo img {
        height: 55px !important;
        max-width: 220px !important;
    }

    /* 8. Footer Columns */
    .h-footer .h-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* ==========================================================================
   CINEMATIC SCROLL REVEAL & LUXURY MICRO-ANIMATIONS ENGINE
   ========================================================================== */

/* Keyframe Animations */
@keyframes hFloatPill {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes hGlowPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(229, 62, 62, 0.3); }
    50% { box-shadow: 0 0 30px rgba(229, 62, 62, 0.7); }
}

/* Floating Luxury Pill Badges */
.h-hero [style*="border-radius: 50px"],
.h-section [style*="border-radius: 50px"] {
    animation: hFloatPill 4s ease-in-out infinite;
}

/* Luxury Card Hover Micro-Interactions */
.h-card-dark,
.h-gallery-item,
.h-icon-box {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform, box-shadow;
}

.h-card-dark:hover,
.h-gallery-item:hover {
    transform: translateY(-8px) scale(1.015) !important;
    border-color: rgba(229, 62, 62, 0.6) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 62, 62, 0.25) !important;
}

/* Smooth Image Scale on Hover */
.h-card-dark img,
.h-gallery-item img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.h-card-dark:hover img,
.h-gallery-item:hover img {
    transform: scale(1.06) !important;
}

/* ==========================================================================
   ULTRA-LUXURY BUTTON DESIGN SYSTEM & METALLIC LIGHT-SWEEP ENGINE
   ========================================================================== */

/* 1. Primary Red Luxury Button */
.btn-primary-red,
a.btn-primary-red,
button.btn-primary-red,
.btn-header {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #FF2E4C 0%, #E53E3E 50%, #A61C1C 100%) !important;
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.45), 0 0 30px rgba(229, 62, 62, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

/* Diagonal Light Sweep Ray */
.btn-primary-red::after,
a.btn-primary-red::after,
button.btn-primary-red::after,
.btn-header::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -120% !important;
    width: 70% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: hBtnSheen 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.btn-primary-red:hover,
a.btn-primary-red:hover,
button.btn-primary-red:hover,
.btn-header:hover {
    transform: translateY(-4px) scale(1.03) !important;
    background: linear-gradient(135deg, #FF4763 0%, #F53B3B 50%, #B81D1D 100%) !important;
    box-shadow: 0 12px 35px rgba(229, 62, 62, 0.8), 0 0 50px rgba(229, 62, 62, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.btn-primary-red:active,
a.btn-primary-red:active {
    transform: translateY(-1px) scale(0.99) !important;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.6) !important;
}

/* 2. Glassmorphic Outline Luxury Button */
.btn-outline-dark,
.btn-outline-red,
a.btn-outline-dark,
a.btn-outline-red {
    position: relative !important;
    overflow: hidden !important;
    background: rgba(15, 17, 21, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(229, 62, 62, 0.6) !important;
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 62, 62, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-outline-dark:hover,
.btn-outline-red:hover,
a.btn-outline-dark:hover,
a.btn-outline-red:hover {
    transform: translateY(-4px) scale(1.025) !important;
    background: rgba(229, 62, 62, 0.15) !important;
    border-color: #E53E3E !important;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.5), 0 0 35px rgba(229, 62, 62, 0.3) !important;
    color: #FFFFFF !important;
}

/* Continuous Light Sweep Keyframe Animation */
@keyframes hBtnSheen {
    0% { left: -120%; }
    25% { left: 200%; }
    100% { left: 200%; }
}

/* Luxury Hero Glowing Red Highlight Text */
.h-hero h1 span,
.h-hero h2 span,
.h-section h2 span {
    background: linear-gradient(135deg, #FF4763 0%, #E53E3E 60%, #FF6B6B 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 30px rgba(229, 62, 62, 0.55);
}

/* Floating Luxury Hero Pill Badges Glow */
.h-hero [style*="border-radius: 50px"] {
    background: rgba(229, 62, 62, 0.12) !important;
    border: 1px solid rgba(229, 62, 62, 0.5) !important;
    box-shadow: 0 0 20px rgba(229, 62, 62, 0.25), inset 0 0 10px rgba(229, 62, 62, 0.15) !important;
    backdrop-filter: blur(8px) !important;
}

/* ==========================================================================
   DESKTOP VS MOBILE SERVICES LAYOUT ENGINE
   ========================================================================== */

/* 1. DESKTOP (PC/Laptop >= 769px): Row 1 = 3 cards, Row 2 = 2 cards */
@media (min-width: 769px) {
    .h-services-deck-wrapper {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 30px !important;
    }

    .h-services-deck-wrapper > .h-card-dark {
        position: static !important;
        top: auto !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
    }

    /* Top Row: 3 Cards (each 2/6 = 33.3%) */
    .h-services-deck-wrapper > .h-card-dark:nth-child(1),
    .h-services-deck-wrapper > .h-card-dark:nth-child(2),
    .h-services-deck-wrapper > .h-card-dark:nth-child(3) {
        grid-column: span 2 !important;
    }

    /* Bottom Row: 2 Cards (each 3/6 = 50%) */
    .h-services-deck-wrapper > .h-card-dark:nth-child(4),
    .h-services-deck-wrapper > .h-card-dark:nth-child(5) {
        grid-column: span 3 !important;
    }
}

/* 2. MOBILE (Phones <= 768px): Sleek Compact Header & Sticky Notebook Deck */
@media (max-width: 768px) {
    .h-site-header {
        padding: 8px 0 !important;
    }

    .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    header .site-logo img {
        height: 40px !important;
        max-height: 40px !important;
        width: auto !important;
        max-width: 180px !important;
    }

    footer .site-logo img,
    footer img[src*="logo.png"] {
        height: 95px !important;
        max-height: 95px !important;
        width: auto !important;
        max-width: 350px !important;
    }

    .header-cta {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .header-cta .btn-primary-red,
    .header-cta a {
        width: auto !important;
        display: inline-flex !important;
        padding: 7px 13px !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        letter-spacing: 0.5px !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3) !important;
    }

    .h-mobile-toggle {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        color: #FFFFFF !important;
        flex-shrink: 0 !important;
    }

    /* Mobile Inner Sub-page Hero Top Spacing & Typography */
    .h-hero {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
        min-height: auto !important;
    }

    .h-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
    }

    .h-hero p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .h-hero .h-container {
        padding-top: 10px !important;
    }

    /* Responsive Mobile Luxury Buttons */
    .btn-primary-red,
    .btn-outline-dark,
    .btn-outline-red,
    a.btn-primary-red,
    a.btn-outline-dark {
        font-size: 13px !important;
        padding: 14px 20px !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .h-services-section,
    .h-services-section .h-container,
    .h-services-deck-wrapper {
        overflow: visible !important;
    }

    .h-services-deck-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
        position: relative !important;
    }

    .h-services-deck-wrapper > .h-card-dark {
        position: sticky !important;
        background: #14171E !important;
        border: 1px solid #2D3748 !important;
        border-radius: 16px !important;
        box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(229, 62, 62, 0.3) !important;
        margin-bottom: 25px !important;
    }

    /* Sequential notebook stacking top offsets for all 5 cards on mobile */
    .h-services-deck-wrapper > .h-card-dark:nth-child(1) { top: 85px !important; z-index: 10 !important; }
    .h-services-deck-wrapper > .h-card-dark:nth-child(2) { top: 105px !important; z-index: 20 !important; }
    .h-services-deck-wrapper > .h-card-dark:nth-child(3) { top: 125px !important; z-index: 30 !important; }
    .h-services-deck-wrapper > .h-card-dark:nth-child(4) { top: 145px !important; z-index: 40 !important; }
    .h-services-deck-wrapper > .h-card-dark:nth-child(5) { top: 165px !important; z-index: 50 !important; }

    .h-anim-reveal-left,
    .h-anim-reveal-right,
    .h-anim-reveal-scale,
    .h-anim-reveal {
        transform: translateY(20px) !important;
    }

    .h-anim-reveal-left.is-visible,
    .h-anim-reveal-right.is-visible,
    .h-anim-reveal-scale.is-visible,
    .h-anim-reveal.is-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Container & Image Overflow Guards */
    .h-container,
    .h-card-dark {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    section:not(.h-services-section) {
        overflow-x: clip !important;
    }

    .h-services-section,
    .h-services-section .h-container,
    .h-services-deck-wrapper {
        overflow: visible !important;
    }
    
    /* Cover images only, exclude icons and stars */
    .h-card-dark > div > img,
    .h-card-dark > img {
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
    }

    /* Rating Stars SVG Fix & Emoji Icon Container Lock */
    .h-card-dark > div:first-child[style*="font-size"] {
        font-size: 24px !important;
        line-height: 1.2 !important;
        max-width: 55px !important;
        max-height: 55px !important;
        overflow: hidden !important;
    }

    svg[fill="#FFB800"],
    .h-card-dark svg[fill="#FFB800"] {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }

    .h-card-dark svg,
    .h-section svg {
        width: 22px !important;
        height: 22px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }
}

/* Enforce no horizontal body overflow on all devices using clip so position: sticky is not broken */
html, body {
    overflow-x: clip !important;
    width: 100% !important;
}

/* Mobile Horizontal Touch-Scroll Filter Bar */
@media (max-width: 768px) {
    .h-gallery-filters {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 15px !important;
        padding-bottom: 18px !important;
        margin-top: 30px !important;
        margin-bottom: 35px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .h-gallery-filters::-webkit-scrollbar {
        display: none !important;
    }
    .h-gallery-filters .h-filter-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 10px 20px !important;
        font-size: 12px !important;
        border-radius: 50px !important;
        line-height: 1.4 !important;
    }

    .h-anim-reveal-left {
        transform: translateX(-25px) !important;
    }
    .h-anim-reveal-right {
        transform: translateX(25px) !important;
    }
}

/* Reveal Elements on Scroll (Up, Left, Right, Scale) */
.h-anim-reveal,
.h-anim-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.h-anim-reveal-left {
    opacity: 0;
    transform: translateX(-65px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.h-anim-reveal-right {
    opacity: 0;
    transform: translateX(65px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.h-anim-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.h-anim-reveal.is-visible,
.h-anim-reveal-up.is-visible,
.h-anim-reveal-left.is-visible,
.h-anim-reveal-right.is-visible,
.h-anim-reveal-scale.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delays for Grids */
.h-grid-2 > *:nth-child(1), .h-grid-3 > *:nth-child(1), .h-grid-4 > *:nth-child(1) { transition-delay: 0.05s; }
.h-grid-2 > *:nth-child(2), .h-grid-3 > *:nth-child(2), .h-grid-4 > *:nth-child(2) { transition-delay: 0.15s; }
.h-grid-3 > *:nth-child(3), .h-grid-4 > *:nth-child(3) { transition-delay: 0.25s; }
.h-grid-4 > *:nth-child(4) { transition-delay: 0.35s; }

