:root {
    --primary-color: #B39B72;
    --primary-hover: #a18b66;

    --secondary-color: #7D98B4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
a {
    color: var(--primary-color);
}
a:hover {
    color: var(--primary-hover);
}
.accordion-button:hover {
    color: var(--primary-hover);
}
.accordion-button::after {
    margin-left: 15px;
}
p.info-text a:hover {
    color: var(--primary-hover);
}
.footer-section span a:hover {
    color: var(--primary-hover);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1 {
    margin-bottom: 20px;
}

h2 {
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header nav {
    width: 100%;
}

/* Header when scrolled past hero - white background */
.header.scrolled {
    background-color: #ffffff !important;
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.logo-img {
    height: 50px;
    width: auto;
    padding: 5px;
}

/* Logo visibility control - initial: show sticky (white), after hero: show default */
.logo-default {
    display: none;
}

.logo-sticky {
    display: block;
}

/* When scrolled past hero, show default logo */
.header.scrolled .logo-default {
    display: block;
}

.header.scrolled .logo-sticky {
    display: none;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    position: relative;
}

/* Navigation Links */
.nav-item-has-submenu {
    position: relative;
}

.nav-item-has-submenu > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-submenu-link {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #222;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
    border: 1px solid #fff;
}

/* Submenu box */
.nav-submenu {
    position: absolute;
    top: calc(100% + 20px); /* visually 20px below the parent */
    left: 0;
    margin: 0;
    padding: 0.5rem 0;
    padding: 0;

    list-style: none;

    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

/* Invisible hover bridge filling the 20px gap */
.nav-submenu::before {
    content: "";
    position: absolute;
    top: -20px;   /* exactly the gap size */
    left: 0;
    right: 0;
    height: 20px;
}

.nav-submenu-link:hover,
.nav-submenu-link.active {
    background-color: #f3f4f6;
    color: #86898C;
}

/* Show dropdown on hover */
.nav-item-has-submenu:hover .nav-submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Desktop nav-caret - same style as mobile but with dark color */
.nav-item-has-submenu .nav-caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
    margin-left: 6px;
}

/* Caret color matches link color on hover/active */
.nav-link:hover .nav-caret,
.nav-link.active .nav-caret {
    border-right-color: #86898C;
    border-bottom-color: #86898C;
}

/* No rotation on hover for desktop - caret only indicates submenu exists */

.nav-links {
    gap: 2.5rem;
}

.colum_padding_top_none {
    padding-top: 0px;
}

.colum_padding_top_small {
    padding-top: clamp(50px, 5vw, 50px);
}

.colum_padding_top_large {
    padding-top: clamp(60px, 10vw, 100px);
}

.colum_padding_bottom_none {
    padding-bottom: clamp(50px, 5vw, 50px);
}

.colum_padding_bottom_small {
    padding-bottom: 0px;
    
}

.colum_padding_bottom_large {
    padding-bottom: clamp(60px, 10vw, 100px);
}

/* Larger gap on big screens */
@media (min-width: 1400px) {
    .nav-links {
        gap: 3.5rem;
    }
}

@media (min-width: 1600px) {
    .nav-links {
        gap: 4.5rem;
    }
}

.nav-link {
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Navigation links when scrolled past hero - dark text */
.header.scrolled .nav-link {
    color: #333 !important;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #86898C !important;
}

/* Caret color - initial white */
.nav-item-has-submenu .nav-caret {
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.nav-link:hover .nav-caret,
.nav-link.active .nav-caret {
    border-right-color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* Caret color when scrolled past hero - dark */
.header.scrolled .nav-item-has-submenu .nav-caret {
    border-right-color: #333;
    border-bottom-color: #333;
}

.header.scrolled .nav-link:hover .nav-caret,
.header.scrolled .nav-link.active .nav-caret {
    border-right-color: #86898C;
    border-bottom-color: #86898C;
}

/* CTA Button */
a.cta-button {
    background-color: var(--primary-color);
    /* border-color: #C19852; */
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
}

a.cta-button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger when scrolled past hero - dark color */
.header.scrolled .hamburger span {
    background: #333;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-2px, -3px);
}


/* Mobile Navigation */
/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); /* dark overlay like before */
    z-index: 1000;
    /* slide-down animation */
    /* transform: translateY(-20px); */
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    top: 72px;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        visibility 0s linear 0.35s;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    /* margin-top: 72px; */
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        padding-top 0.35s ease,
        visibility 0s;
}


.mobile-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    height: calc(100vh - 72px);
    gap: 1.4rem;
    padding: 4rem 1.25rem 2rem; /* push links down from top */
}

/* Top-level links (non-services) */
.mobile-nav-links > a,
.mobile-nav-links > .nav-link--no-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: color 0.3s;
}

a.mobile-nav-parent, 
.mobile-nav-links > a,
.mobile-nav-links > .nav-link--no-link {
    font-size: 25px;
}

.mobile-nav-links > a:hover,
.mobile-nav-links > a.active,
.mobile-nav-links > .nav-link--no-link.active {
    color: #86898C;
}

.mobile-subnav-link {
    font-size: 20px;
}

/* Nicht verlinkte Navigationspunkte */
.nav-link--no-link {
    cursor: default;
    display: block;
}

/* Mobile Subnavigation */
.mobile-subnav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding-left: 1.2rem;
    opacity: 0.8;
}

.mobile-subnav-link:hover {
    color: #86898C;
}

/* CTA button at the bottom */
a.mobile-cta-button,
.mobile-cta-button {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.85rem 1.8rem;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 2rem;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    border-radius: 8px;
}

a.mobile-cta-button:hover,
.mobile-cta-button:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

/* === Mobile Services dropdown === */

.mobile-nav-dropdown {
    width: 100%;
}

/* "SERVICES ▾" row */
.mobile-nav-parent {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
    cursor: pointer;
}

.mobile-nav-parent:hover,
.mobile-nav-parent.active {
    color: #86898C;
}

/* Caret, same style as desktop but white - Bootstrap style with background image */
.mobile-nav-parent .nav-caret {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    margin-left: 0.5rem;
    vertical-align: 0.255em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.125rem 1.125rem;
    transition: transform 0.3s ease;
}

/* Rotate caret when submenu is open */
.mobile-nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2386898C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Submenu: inline under Services, no card box */
.mobile-nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    margin-top: 0.4rem;
    padding-left: .75rem; /* indent children */
}

/* when open */
.mobile-nav-dropdown.open .mobile-nav-submenu {
    max-height: 400px;
}

/* Child service links */
.mobile-nav-sublink {
    display: block;
    padding: 0.25rem 0;
    text-decoration: none;
    color: var(--primary-color);       /* gold like screenshot */
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: none;
    transition: color 0.2s ease;
}

.mobile-nav-sublink:hover {
    color: #ffffff;
}

.mobile-nav-sublink.active {
    color: #ffffff;
    font-weight: 500;
}

/* Show mobile nav on smaller screens */
@media (max-width: 991.98px) {
    .mobile-nav {
        display: block;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    
    .cta-container {
        display: none;
    }
    
    .hamburger,
    .mobile-nav {
        display: flex;
    }
}

/* Hero Section */
.hero {
    height: calc(100vh - 200px);
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

/* Overlay nur außerhalb des Hero-Sliders (z. B. Einzel-Hero auf anderen Seiten) */
.hero:not(.hero-slide) .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Placeholder when no image is uploaded */
.hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    z-index: 0;
}

.hero-placeholder p {
    color: #999;
    text-align: center;
    padding: 2rem;
    border: 2px dashed #ccc;
    background: #ffffff;
}

.hero-content {
    max-width: 1200px;
    padding: 0 2rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.hero-preheading {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-heading {
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    max-width: 65%;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-subheading {
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 100%;
    background: url('../images/arrow_down.svg') center/cover;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Hero-Slider (Splide) */
.hero-slider-wrapper {
    position: relative;
    height: 100vh;
    min-height: 400px;
}

.hero-slider-wrapper .splide {
    height: 100%;
}

.hero-slider-wrapper .splide__track,
.hero-slider-wrapper .splide__list {
    height: 100%;
}

.hero-slider-wrapper .splide__slide {
    height: 100%;
    position: relative;
}

.hero-slider-wrapper .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Overlay auf jedem Slide – dunkler Verlauf auf allen Slides */
.hero-slider-wrapper .hero-slide .hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 1;
    pointer-events: none;
}

.hero-slider-wrapper .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 10;
}

/* Splide Pfeile und Pagination auf Hero anpassen */
.hero-slider-wrapper .splide__arrow {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
}

.hero-slider-wrapper .splide__arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-slider-wrapper .splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
}

.hero-slider-wrapper .splide__pagination__page.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* Text beim Slide-Wechsel von oben einblenden */
.hero-slider-wrapper .splide__slide .hero-preheading,
.hero-slider-wrapper .splide__slide .hero-heading {
    opacity: 0;
    transform: translateY(-28px);
}

.hero-slider-wrapper .splide__slide.is-active .hero-preheading,
.hero-slider-wrapper .splide__slide.is-active .hero-heading {
    animation: hero-text-fade-in 0.8s ease-out forwards;
}

.hero-slider-wrapper .splide__slide.is-active .hero-heading {
    animation-delay: 0.15s;
    opacity: 0;
    transform: translateY(-28px);
}

@keyframes hero-text-fade-in {
    from {
        opacity: 0;
        transform: translateY(-28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile: Slider deaktiviert – nur erster Slide als statisches Hero */
@media (max-width: 991px) {
    .hero-slider-wrapper {
        height: 100dvh;
    }
    /* Splide visibility override – Splide-Core versteckt nicht-initialisierte Slider */
    .hero-slider-wrapper .splide {
        visibility: visible !important;
    }
    /* Splide-Layout zurücksetzen */
    .hero-slider-wrapper .splide,
    .hero-slider-wrapper .splide__track,
    .hero-slider-wrapper .splide__list {
        display: block !important;
        overflow: hidden !important;
        height: 100%;
    }
    /* Alle Slides ausblenden ausser dem ersten */
    .hero-slider-wrapper .splide__slide {
        display: none !important;
    }
    .hero-slider-wrapper .splide__slide:first-child {
        display: block !important;
        height: 100%;
    }
    /* Hero-Slide füllt den Container */
    .hero-slider-wrapper .splide__slide:first-child .hero-slide {
        position: relative;
        height: 100%;
    }
    /* Text sofort sichtbar (kein Splide .is-active auf Mobile) */
    .hero-slider-wrapper .splide__slide .hero-preheading,
    .hero-slider-wrapper .splide__slide .hero-heading {
        opacity: 1 !important;
        transform: translateY(0) !important;
        animation: none !important;
    }
}

.logo img {
    width: 100%;
    max-width: 327px;
}

/* Introduction Section */
.intro-section {
    padding: 5rem 10rem;
}

.container {
    margin: 0 auto;
}

.intro-text span {
    display: block;
    background: #fff;
    padding: 20px 0 20px 50px;
}

.intro-box {
    border: 2px solid var(--primary-color);
    right: 65px;
    width: 113%;
    z-index: 1;
    position: relative;
    /* padding: 15px 15px 0; */
    margin-bottom: 20px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text {
    margin-top: 20px;
}

.intro-text h2 {
    font-weight: 700;
    color: #333;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.intro-text .h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
}

.intro-text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.certification img {
    object-fit: contain;
    width: 100%;
}



/* Main Services Section */
.services-intro h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.services-intro h5 {
    font-weight: 600;
    color: #333;
}

.services-section {
    padding: 5rem 8rem;
    margin: 0 2rem 0;
    background: #F0F0EF;
}

.section-title {
    font-size: 33px;
    margin-bottom: 2rem!important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.accordion-header {
    margin-bottom: 0!important;
}

.services-grid .services-slider-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
}

.services-grid .services-slider-track > [class*="col-"] {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1200px) and (min-width: 992px) {
    .services-grid .services-slider-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: #ffffff;
    padding: clamp(30px, 6vw, 60px) clamp(15px, 6vw, 30px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    /* height: 120px; */
    min-height: 70px;
    color: #333;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.service-card hr {
    margin-bottom: 2.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

.view-more {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

.view-more::before {
    content: '';
    position: absolute;
    border-bottom: 1px solid #DEDEDE;
    width: 100%;
    top: -20px;
}

.view-more::after {
    content: '+';
    font-weight: bold;
}

.view-more:hover {
    color: var(--primary-color);
}

/* Services Button Wrapper */
.services-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.services-button {
    display: inline-block;
}

/* Title alignment options for section title */
.services-section .section-title.services-title-center {
    text-align: center;
}

.services-section .section-title.services-title-left {
    text-align: left;
}

.btn-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card:hover .btn-chevron,
.service-link:hover .btn-chevron {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.btn-chevron .arrow {
    width: 8px;
    height: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
}

.btn-chevron .arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.btn-chevron .arrow-1 {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0px, 0px);
}

.btn-chevron .arrow-2 {
    opacity: 0;
    transform: translate(-50%, -50%) translate(23px, 0px);
}

.service-card:hover .btn-chevron .arrow-1,
.service-link:hover .btn-chevron .arrow-1 {
    opacity: 0;
    transform: translate(-50%, -50%) translate(-23px, 0px);
}

.service-card:hover .btn-chevron .arrow-2,
.service-link:hover .btn-chevron .arrow-2 {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0px, 0px);
}

/* Related Services Styles - Current design preserved */
.related-services-section {
    padding: 5rem 0;
    margin: 0;
}

.related-section-title {
    font-size: 33px;
    margin-bottom: 2rem!important;
}

.related-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
}

@media (min-width: 992px) {
    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 0.5rem;
    }
}

@media (min-width: 1024px) {
    .related-services-grid {
        padding: 0;
    }
}

@media (min-width: 1700px) {
    .footer-info-wrapper > .row {
        max-width: 60%!important;
    }
}

.related-service-card {
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    background-color: rgba(109, 104, 84, 0.2);
    position: relative;
}

.related-service-card:hover {
    transform: translateY(-2px);
    background-color: rgba(109, 104, 84, 0.4);
}

.related-service-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.related-service-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin: 0!important;
    flex: 1;
}

.related-btn-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #6d6854;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.related-service-card:hover .related-btn-chevron,
.related-service-link:hover .related-btn-chevron {
    /* background-color: var(--secondary-color);
    border-color: var(--secondary-color); */
    background-color: #6d6854;
    border-color: #6d6854;
    color: #ffffff;
}

.related-btn-chevron .arrow {
    width: 8px;
    height: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
}

.related-btn-chevron .arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.related-btn-chevron .arrow-1 {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0px, 0px);
}

.related-btn-chevron .arrow-2 {
    opacity: 0;
    transform: translate(-50%, -50%) translate(23px, 0px);
}

.related-service-card:hover .related-btn-chevron .arrow-1,
.related-service-link:hover .related-btn-chevron .arrow-1 {
    opacity: 0;
    transform: translate(-50%, -50%) translate(-23px, 0px);
}

.related-service-card:hover .related-btn-chevron .arrow-2,
.related-service-link:hover .related-btn-chevron .arrow-2 {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0px, 0px);
}

/* Mobile Slider Styles for Services */
/* Slider dots hidden on desktop */
.slider-dots {
    display: none;
}

@media (max-width: 991px) {
    /* Mobile: transform grid into slider */
    .services-grid {
        display: block !important;
        overflow: hidden;
        position: relative;
    }

    .services-grid > .services-slider-track {
        display: flex;
        transition: transform 0.5s ease;
    }

    .services-grid .service-slide {
        flex: 0 0 100%;
    }
    
    /* Dots Navigation */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 1.5rem;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #D9D9D9;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .slider-dot.active {
        background: var(--primary-color);
        width: 24px;
        border-radius: 4px;
    }
    
    /* Adjust services section padding for mobile */
    .services-section {
        padding: 3rem 1rem;
        margin: 0 0 0.5rem;
    }
    
    .service-card {
        margin: 0;
    }
}

@media (max-width: 767px) {
    .related-services-section {
        padding: 3rem 1rem;
    }
}

hr {
    border: none;
    border-bottom: 1px solid #DEDEDE;
}


/* Feature Sections */
.feature-section {
    padding: 0 2rem .5rem;
}

.feature-container {
    --bs-gutter-x: 0;
}

.feature-content {
    min-height: 500px;
    display: grid;
    padding: 0;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}

.feature-text.bg-blue {
    background: var(--secondary-color);
    color: #ffffff;
}

.feature-text.bg-blue a.cta-button {
    color: #000000;
    background: #ffffff;
}

.feature-text.bg-blue a.cta-button:hover {
    background-color: #F0F0EF;
}

.feature-text.bg-gray .cta-button {
    background: var(--secondary-color);
}

.feature-text.bg-gray .cta-button:hover {
    background: #5A7A94;
}

.feature-text.bg-gray {
    background: #F0F0EF;
}

/* Helle Schrift (weiss) – z. B. bei dunklem Hintergrund */
.feature-text--light,
.feature-text--light h2,
.feature-text--light h3,
.feature-text--light .feature-description,
.feature-text--light .feature-description p {
    color: #ffffff;
}

.feature-text--light a.cta-button {
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
}

.feature-text--light a.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.feature-text p,
.feature-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-description p {
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .feature-container {
        display: flex;
        flex-direction: column;
    }
    
    .feature-content:nth-child(3) {
        order: 4;
    }
    
    .feature-content:nth-child(4) {
        order: 3;
    }
}


/* Team Section */
.team-section {
    padding: 5rem 0rem 5rem;
}

.team-section h2.section-title,
.posts-section h2.section-title { 
    text-align: center;
}

.team-card hr {
    margin: 0 1.5rem;
    color: #dfe0e1;
}

.team-card {
    margin-bottom: 40px;
    /* max-width: 330px; */

}

.team-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* margin: 0 auto 1.1rem;*/
} 

.team-card h4 {
    font-weight: 500;
    color: #333;
    font-size: 23px;
    /* min-height: 56px; */
    margin-bottom: 15px;
}

.team-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* .social-icons {
    padding-top: 1rem;
    border-top: 1px solid #dfe0e1;
} */

.social-icon {
    display: inline-block;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 50%;
    margin: 0 20px 0 0;
}

.social-icon:hover {
    color: var(--primary-color);
    background: rgba(184, 134, 11, 0.1);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.stats-banner {
    display: flex;
    align-items: center;
    background: #ffffff;
    gap: 2rem;
    justify-content: center;
}

.trust-text {
    color: #333;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
}


/* CTA Banner */
/* CTA Banner - Top Bar (old layout) */
.cta-banner-top {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 1.5rem 0;
}

.cta-content {
    padding: 0 10rem;
    align-items: center;
}

.cta-content .cta-button {
    min-width: 138px;
    width: auto;
}

.cta-content .cta-button a {
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    background-color: var(--primary-color);
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-content .cta-button a:hover {
    background-color: var(--primary-hover);
}

.cta-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.cta-title {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 400;
}

/* CTA Banner - Bottom Section (new layout) */
.cta-banner-bottom {
    background: var(--secondary-color);
    padding: 3rem 0;
    color: #ffffff;
}

.cta-section-content {
    text-align: center;
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: rgb(51, 51, 51);
    margin-bottom: 1rem;
}

.cta-section-description {
    font-size: 1.1rem;
    color: rgb(51, 51, 51);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-section-button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease;
}

.cta-section-button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

/* Related Posts Section */
/* .posts-section {
    padding: 5rem 10rem;
    background: #ffffff;
}

.post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-content {
    padding: 1rem 0;
}

.post-category {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.post-card a {
    text-decoration: none;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
} */

/* Related Posts Section */
.posts-section {
    padding: 5rem 0rem;
    background: #ffffff;
}

.posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
}

.posts-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-content {
    padding: 1rem 0;
}

.post-category {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.post-card a {
    text-decoration: none;
}

.post-card-link:hover .post-title {
    color: var(--primary-hover);
    transition: color 0.3s ease;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    overflow: hidden;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 90px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
}

.page-content ul {
    padding-left: 20px;
}

/* Mobile Posts Slider */
.posts-slider-mobile {
    display: none;
}

@media (min-width: 990px) and (max-width: 1499px) {
    .footer-content .col-lg-3 {
        width: 23%;
    }

}

@media (max-width: 991px) {
    /* Hide desktop grid on mobile */
    .posts-desktop {
        display: none !important;
    }
    
    /* Show mobile slider */
    .posts-slider-mobile {
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    .posts-slider-wrapper {
        overflow: hidden;
        width: 100%;
    }
    
    .posts-slider-track {
        display: flex;
        transition: transform 0.5s ease;
    }
    
    .post-slide {
        flex: 0 0 100%;
        padding: 0 0rem;
    }
    
    /* Posts Slider Dots */
    .posts-slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 1.5rem;
    }
    
    .posts-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #D9D9D9;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .posts-slider-dot.active {
        background: var(--primary-color);
        width: 24px;
        border-radius: 4px;
    }
    
    /* Adjust posts section padding for mobile */
    .posts-section {
        padding: 3rem 0rem;
    }
}


/* blog-subpage */
.article-footer a.btn {
    border: none;
    color: #666;
}

.article-meta span.post-meta {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 100px;
    padding: 10px 20px;
}

.article-footer a.btn:hover {
    background: none;
    color: #666;
}

.article-featured-image img {
    width: 100%;
    max-width: 60%;
}

.article-category {
    font-size: 14px;
}

.article-footer a.btn {
    padding: 0;
}

.template-blog-subpage .single-blog-post-section h2 {
    margin: 30px 0 15px;
}

.template-blog-subpage .single-blog-post-section li {
    margin: 15px 0;
}

/* Page Header Wrapper - colored section with overlapping image */
.page-header-wrapper {
    position: relative;
    margin-top: 0;
}

.page-header-top {
    padding-top: 80px; 
    /* padding-bottom: 200px;  */
    position: relative;
    overflow: visible;
    min-height: 300px; 
}

.page-header-top.has-pattern {
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.04) 10px,
            rgba(255, 255, 255, 0.04) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.04) 10px,
            rgba(255, 255, 255, 0.04) 20px
        );
}

.page-header-top.no-image {
    padding-bottom: 0;
    height: 300px; /* Fixed height for no-image headers */
    min-height: 300px;
}

/* Blog specific: More height for blog header */
.page-header-top.blog-header {
    padding-bottom: 200px; /* Space for overlapping image */
    min-height: 600px; /* Increased minimum height */
}

/* Blog specific: More height for blog header without image */
.page-header-top.blog-header.no-image {
    min-height: 500px;
    padding-bottom: 0;
}

.page-header-content {
    padding: 1.5rem 0;
    position: absolute;
    top: 120px; /* Fixed position from top for no-image headers */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

/* Blog specific: Different positioning for blog content */
.page-header-top.blog-header .page-header-content {
    position: relative;
    transform: translate(-50%, 0);
    bottom: auto;
    padding: 2rem 0 0 0;
    margin-top: 2rem;
}

/* When image is present, position title higher to avoid overlap */
.page-header-top:not(.no-image) .page-header-content {
    top: 120px; /* Same top position as no-image */
    bottom: auto;
    transform: translateX(-50%);
}

/* Blog specific: No-image blog header - override for blog */
.page-header-top.blog-header.no-image .page-header-content {
    position: relative;
    transform: translate(-50%, 0);
    top: auto;
    padding: 2rem 0;
}

.page-parent-title {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    padding: 0 1.5rem;
    font-weight: 400;
}

/* H1 im Content-Template ausblenden (bleibt im DOM für SEO) */
.template-content .page-header-content .page-title {
    display: none;
}

.page-header-content .page-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw + 1rem, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.75rem;
    padding: 0 1.5rem;
}

/* Blog Header Date */
.blog-header-date {
    color: #ffffff;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-date-item,
.blog-author-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date-icon,
.blog-author-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Blog Header Description */
.blog-header-description {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    padding: 0 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header-image-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}

/* Blog specific: Image positioning for blog headers with absolute positioning */
.page-header-top.blog-header .page-header-image-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* Blog specific: Remove transform from image itself */
.page-header-top.blog-header .page-header-image {
    transform: none;
}

.page-header-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Page Content with header image overlap */
.page-content.has-header-image {
    padding-top: 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.page-content.has-header-image > .container-fluid {
    padding-top: calc(135px + 2rem); /* Space for half-overlapping image */
}

/* Blog specific: More spacing after header image */
.page-content.has-header-image.blog-content .container-fluid {
    padding-top: calc(200px + 4rem);
}

.page-content {
    background-color: #ffffff;
    padding-top: 3rem;
}

/* Legacy page-header styles (kept for compatibility) */
.page-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    padding: 0 0.5rem;
}

/* About Us Page */

.slug-about-us h1,
.slug-about-us h2,
.slug-uber-uns h2,
.slug-uber-uns h3, 
.page-content h2,
.page-content h3 {
    text-transform: none !important;
    margin-bottom: 15px;
}

body.template-content section, body.template-blog-subpage section {
        /* margin-bottom: 50px; */
        margin-bottom: 0px;

}

.about-us-text {
    padding-bottom: 20px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #86898C !important;
    padding: 3rem 2rem 0;
    font-size: .875rem;
}



/* Desktop: Space-between layout for logo and info wrapper */
@media (min-width: 1200px) {
    .footer-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start;
    }
    
    .footer-logo-wrapper {
        flex: 0 0 auto;
        width: auto !important;
    }
    
    .footer-info-wrapper {
        flex: 1 1 auto;
        display: flex;
        justify-content: flex-end;
        width: auto !important;
        max-width: none;
    }
    
    .footer-info-wrapper > .row {
        width: 100%;
        max-width: 990px;
        margin-left: auto;
    }
}

/* Tablet: Logo and info wrapper full width */
@media (max-width: 1199px) {
    .footer-logo-wrapper {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .footer-logo-wrapper.text-md-start {
        text-align: center !important;
    }
    
    .footer-logo-wrapper .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .footer-logo-wrapper .logo img {
        margin: 0 auto;
    }
    
    .footer-info-wrapper {
        width: 100% !important;
    }
    
    .footer-info-wrapper > .row {
        margin-left: 0;
        max-width: 100%;
    }
}

.footer .footer-heading {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: #ffffff;
}
  
.footer-bottom p,
.footer-bottom a {
    font-size: 0.7rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    line-height: 1.6;
}

.footer-section.timings p {
    margin-bottom: 2rem;
}

.footer-section.timings span {
    color: #86898C !important;
}

/* Einzelne Uhrzeiten innerhalb der Zeitspanne (08:00, 13:00), nicht die Zeit in Klammer (Tel. bis 16:30) */
.footer-section.timings .time-start {
    display: inline-block;
    min-width: 39px;
    text-align: left;
}

/* Einheitliche Anordnung: Tag oben, Zeiten darunter, gleicher Umbruch auf allen Bildschirmgrössen */
.footer-timings-block {
    display: block;
}

.footer-timings-day {
    display: block;
    margin-bottom: 0.15rem;
}

.footer-timings-hours {
    display: block;
}

/* .footer-section span, */
/* .contact-section span {
    float: right;
    position: relative;
    top: -25px;
} */

.footer-section span.tel {
    margin-left: -6px;
}

.footer-section span a,
.footer-section span {
    color: var(--primary-color);
    text-decoration: none;
}

/* .footer-section.contact span.tel, */
.contact-section span.tel {
    right: 3rem;
    position: relative;
}

.contact-section .indent,
.footer-section .indent {
    display: block;
    margin-right: .13rem;
}

.contact-section .time-start {
    display: inline-block;
    min-width: 45px;
    text-align: left;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a.active {
    color: #bdc3c7;
}

/* .footer-section p.freitag>span {
    position: relative;
    left: 1.8rem;
} */

.footer-links a:hover {
    color: #bdc3c7;
}

.map-container iframe {
    width: 100%;
}

@media (max-width: 992px) {
    /* .footer-content {
        grid-template-columns: 1fr 1fr;
    } */
}

@media (max-width: 768px) {
    .page-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
}

/* Mobile Design */
@media (max-width: 768px) {

    .hero-preheading {
        max-width: 250px;
    }

    .nav-container {
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: center;
    }

    .cta-container {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .scroll-indicator {
        bottom: .5rem;
    }

    .intro-text span {
        padding: .5rem;
    }

    .intro-box {
        right: 0%;
        width: 100%;
    }

    .services-section,
    .feature-section {
        padding: 3rem 1rem;
    }

    .intro-section,
    .team-section,
    .posts-section {
        padding: 3rem;
        padding-right: 0;
        padding-left: 0;
    }

    .nav-container,
    .cta-content {
        padding: 0 0.625rem;
    }

    .services-section {
        margin: 0 1rem;
    }

    .feature-text {
        padding: 1rem 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .hero-heading {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero-subheading {
        font-size: 1.4rem;
    }

    .cta-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .footer {
        padding: 3rem 0rem 0;
    }

    .footer-content {
        row-gap: 1rem;
    }

    .footer-logo {
        text-align: center;
    }

    .hzo-logo {
        font-size: 2rem;
    }

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

    .stats-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .page-content {
        padding-top: 0rem;
    }

}
@media (max-width: 575px) {
    .logo-img {
        height: 40px;
    }
    .hero-heading {
        font-size: 1.5rem;
    }
    .page-header-top {
        min-height: 200px;
    }
    .page-content.has-header-image > .container-fluid {
        padding-top: calc(80px + 2rem);
    }
    .page-header-top.no-image {
        height: 200px;
        min-height: 200px;
    }
}
