:root {
    /* Main Code Palette */
    --color-primary: rgb(164, 0, 0);
    /* Red */
    --color-primary-dark: rgb(13, 13, 13);
    /* Black */
    --color-primary-light: rgb(244, 244, 244);
    /* Light Gray */
    --color-accent: rgb(255, 218, 26);
    /* Yellow */
    --color-white: rgb(255, 255, 255);

    /* Semantic Mappings */
    --color-text-main: var(--color-primary-dark);
    --color-text-body: #333333;
    --color-border: #e5e5e5;

    /* Typography & Layout */
    --font-main: 'Inter', sans-serif;
    --header-height: 80px;
    --container-width: 1400px;
    --radius: 8px;
    --section-spacing: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Section Spacing */
    --section-padding: 10px;
    --section-gap: 8px;

    /* Transitions */
    --transition-base: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   BASE TYPOGRAPHY & UTILITIES
   ========================================= */
body {
    font-family: var(--font-main);
    color: var(--color-text-body);
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    background-attachment: fixed;
    font-size: 16px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3 {
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* =========================================
   THE CONTAINER (Mobile First)
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 10px;
    margin: var(--section-gap) auto;
    background-color: var(--color-white);
}

/* Exemptions for Header, Hero, Footer */
.site-header .container,
.hero-section .container,
.site-footer .container {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    background-color: transparent;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.u-card {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: var(--radius);
}

.u-shadow-red {
    box-shadow: 0 5px 20px rgba(164, 0, 0, 0.15);
}

.u-shadow-black {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.u-shadow-yellow {
    box-shadow: 0 5px 20px rgba(255, 218, 26, 0.15);
}

/* Transparent Containers (Gray Background Match) */
.statistics-section .container {
    background-color: transparent;
    padding: 0;
}


/* =========================================
   GLOBAL BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* =========================================
   PAGE INTRO
   ========================================= */
.page-intro {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    padding: 10px 20px;
    position: relative;
}

.page-intro::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 20px auto 0;
}

.page-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.page-intro p {
    color: var(--color-text-body);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================
   HEADER SECTION
   ========================================= */
.site-header {
    background-color: var(--color-white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow var(--transition-base);
    padding-top: 15px;
    padding-bottom: 8px;
}

.site-header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
}

.site-header h2 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    padding-left: 20px;
    border-left: 3px solid var(--color-primary);
    max-width: 300px;
    transition: color var(--transition-base);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 50px;
    width: auto;
    transition: filter var(--transition-base);
}

.logo:hover img {
    filter: brightness(1.1);
}

/* Navigation (Mobile Default) */
.main-nav {
    margin-left: auto;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 15px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-top: 2px solid var(--color-primary);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.main-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.main-nav a {
    color: var(--color-primary-dark);
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
    padding: 12px 15px;
    border-radius: var(--radius);
    transition: all var(--transition-base);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-white);
    background-color: var(--color-primary);
    transform: translateX(5px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    transition: all var(--transition-base);
}

.mobile-toggle:hover {
    background-color: var(--color-primary);
    transform: scale(1.05);
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: background-color var(--transition-base);
}

.mobile-toggle:hover .bar {
    background-color: var(--color-white);
}



/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding: var(--section-padding) 0;
    margin-top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.hero-text {
    text-align: center;
    order: 1;
}

.hero-image {
    order: 2;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-body);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    position: relative;
    padding: var(--section-padding) 0;
}

.services-box {
    width: 100%;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: none;
    background-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--color-primary-dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid var(--color-primary);
    background-color: var(--color-white);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(164, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image picture {
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.card-content p {
    color: var(--color-text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-base);
}

.card-link:hover {
    color: var(--color-primary-dark);
    gap: 10px;
}

/* =========================================
   STATISTICS SECTION
   ========================================= */
.statistics-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.stats-box {
    width: 100%;
    position: relative;
    padding: 25px;
    color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(164, 0, 0, 0.25);
}

.stats-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(255, 255, 255, 0.3) 50%, var(--color-accent) 100%);
    box-shadow: 0 2px 10px rgba(255, 218, 26, 0.5);
    z-index: 2;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.stats-title {
    position: relative;
    z-index: 2;
    color: var(--color-white) !important;
    margin-bottom: 25px;
    font-size: 2rem;
    text-align: center;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 5px 0;
    color: var(--color-primary-light);
}

.stat-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 250px;
    margin: 0 auto;
}

/* =========================================
   REVIEWS SECTION
   ========================================= */
.reviews-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.reviews-box {
    width: 100%;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: none;
    background-color: transparent;
}

.reviews-box .section-title {
    color: var(--color-primary-dark) !important;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 10px;
}

.review-card {
    background-color: var(--color-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 218, 26, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all var(--transition-base);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent);
}

.review-stars {
    color: #FFC107;
    font-size: 1rem;
    margin-bottom: 2px;
}

.review-text {
    font-style: italic;
    color: var(--color-text-body);
    font-size: 0.85rem;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* See More Card */
.review-card.see-more {
    background-color: var(--color-primary);
    color: var(--color-white);
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border: none;
}

.review-card.see-more:hover {
    background-color: var(--color-primary-dark);
}

.see-more-icon {
    font-size: 2.5rem;
}

.see-more-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.review-author {
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.review-author:before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-primary);
}

.review-source {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.review-source:hover {
    text-decoration: underline;
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background-color: var(--color-primary-dark);
    color: #D1D5DB;
    padding: 60px 20px 20px;
    margin-top: auto;
    border-top: 5px solid var(--color-primary);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-col {
    flex: 1 1 250px;
    text-align: center;
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col a {
    color: var(--color-white);
    transition: color 0.3s ease;
    font-weight: 600;
}

/* Footer Bottom */
.footer-line {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-bottom .divider {
    display: none;
}

.designer-credit {
    display: block;
    width: 100%;
    margin-top: 5px;
}

.designer-credit a {
    color: var(--color-white);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover,
.designer-credit a:hover {
    color: var(--color-white);
    text-shadow: 0 0 10px var(--color-primary-light);
}

/* =========================================
   PROCESS STEPS (Leistungen)
   ========================================= */
.process-section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--color-primary-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.process-step {
    background-color: var(--color-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.process-step h4 {
    color: var(--color-primary-dark);
    font-size: 1.15rem;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: auto;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.process-step:hover .step-image img {
    transform: scale(1.05);
}

.divider {
    margin: 0 5px;
    color: var(--color-primary-light);
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-page-content {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Left Column: Contact Info Card */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-col .contact-title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
}

.contact-card-logo {
    display: none;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border);
}

.contact-card-logo img {
    height: 50px;
    width: auto;
}

.contact-logo-title {
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    padding-left: 15px;
    border-left: 3px solid var(--color-primary);
}

.contact-item {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.contact-label .icon {
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(164, 0, 0, 0.08);
    border-radius: 6px;
}

.contact-sub-text {
    margin-top: 6px;
    margin-left: 38px;
    color: var(--color-text-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

.contact-value-bold {
    font-weight: 700;
    color: var(--color-primary-dark);
}

.contact-link {
    color: var(--color-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Right Column: Form Card */
.contact-form-col {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 12px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.form-desc {
    color: var(--color-text-body);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group.compact {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #c5c5c5;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(164, 0, 0, 0.1);
}

.btn-submit.compact-btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 14px;
    margin-top: 8px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-submit.compact-btn:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* DSGVO Checkbox */
.form-checkbox {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-text-body);
    cursor: pointer;
    line-height: 1.5;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--color-primary-dark);
}

.form-footer-decoration {
    margin-top: auto;
    padding-top: 20px;
}

.decoration-content {
    background-color: rgba(164, 0, 0, 0.04);
    border: 1px dashed rgba(164, 0, 0, 0.2);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-text-body);
}

.decoration-icon {
    font-size: 1.3rem;
}

.decoration-content p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* =========================================
   SERVICE DETAIL SECTION
   ========================================= */
.services-container {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.services-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.services-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-nav-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1.5px solid #ccc;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-text-body);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: inherit;
}

.service-nav-btn:hover {
    background: #eef2f6;
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.service-nav-btn.active {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    padding-left: 1.5rem;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.services-content-wrapper {
    flex-grow: 1;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-detail {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-detail.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.service-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #555;
}

/* =========================================
   TRUSTED BRANDS & QUALITY
   ========================================= */
.trusted-brands-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.quality-section {
    padding: var(--section-padding) 0;
}

.quality-box {
    width: 100%;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: none;
    background-color: transparent;
}



.brands-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.brand-item {
    background-color: var(--color-white);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 10px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    overflow: hidden;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--color-accent);
}

.brand-item picture {
    width: 95%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all var(--transition-base);
}

.brand-item:hover img {
    transform: scale(1.05);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quality-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}

.quality-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 2px solid #e5e5e5;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quality-image picture {
    width: 100%;
    height: 100%;
}

.quality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quality-item:hover .quality-image img {
    transform: scale(1.05);
}

.quality-item h3 {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.quality-item p {
    color: var(--color-text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   GALLERY GRID (Galerie Page)
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item.landscape {
    order: -1;
}

.gallery-item.portrait {
    order: 1;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(164, 0, 0, 0.18);
    border-color: var(--color-primary);
}

.gallery-item picture {
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* =========================================
   MEDIA QUERIES (CONSOLIDATED)
   ========================================= */

/* --- TABLET MAX: 1200px --- */
@media (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- TABLET MAX: 1024px --- */
@media (max-width: 1024px) {
    .brands-track {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- TABLET LANDSCAPE / DESKTOP SMALL MAX: 992px --- */
@media (max-width: 991px) {
    .services-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .services-sidebar {
        width: 100%;
        position: sticky;
        top: var(--header-height);
        z-index: 100;
        margin-bottom: 0;
        padding: 10px 15px;
        background-color: var(--color-white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .services-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- TABLET PORTRAIT MAX: 900px --- */
@media (max-width: 900px) {

    /* Hero */
    .hero-content {
        padding-top: 15px;
    }

    .hero-image {
        margin-top: 15px;
    }

    /* Header */
    .site-header h2 {
        display: block;
        font-size: 1.1rem;
        padding-left: 10px;
        max-width: 250px;
        white-space: normal;
    }

    .logo img {
        height: 50px;
        max-width: 200px;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Quality */
    .quality-grid {
        grid-template-columns: 1fr;
    }
}

/* --- TABLET MIN: 768px (Gallery 2 columns) --- */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        grid-auto-flow: dense;
    }

    .gallery-item.landscape,
    .gallery-item.portrait {
        order: 0;
    }

    .gallery-item.portrait {
        grid-column: 2;
        grid-row: span 2;
    }

    .gallery-item.portrait:nth-child(1) {
        grid-row: 1 / span 2;
    }

    .gallery-item.portrait:nth-child(2) {
        grid-row: 3 / span 2;
    }
}

/* --- MOBILE MAX: 768px --- */
@media (max-width: 767px) {

    /* Header adjustments */
    .site-header {
        height: auto;
        min-height: var(--header-height);
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        gap: 0;
        text-align: left;
    }

    .footer-col {
        flex-basis: auto;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: left;
    }

    /* Form */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Brands */
    .brands-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-item {
        height: 120px;
        padding: 5px;
    }

    /* Padding adjustments */
    .stats-box {
        padding: 25px 15px;
    }

    .reviews-grid {
        gap: 15px;
    }

    /* Gallery Mobile */
    .gallery-project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Services - 2 columns on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats - reduce gap on mobile */
    .stats-grid {
        gap: 15px;
    }

    .stat-item {
        flex: 1 1 150px;
    }

    /* Container Padding Overrides */
    .services-content-wrapper {
        padding: 20px;
    }
}

/* --- MOBILE SMALL MAX: 600px --- */
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .brands-track {
        grid-template-columns: 1fr;
    }

    .brand-item {
        height: 100px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
}

/* =========================================
   DESKTOP OVERRIDES (MIN-WIDTH: 992px)
   ========================================= */
@media (min-width: 992px) {

    /* Container (Center layout) */
    .container {
        max-width: var(--container-width);
        padding-left: var(--section-spacing);
        padding-right: var(--section-spacing);
    }

    /* Header */
    .site-header {
        height: 95px;
    }

    .site-header h2 {
        font-size: 1.65rem;
        max-width: 340px;
    }

    .logo img {
        height: 65px;
        width: auto;
    }

    .mobile-toggle {
        display: none;
    }

    /* Navigation */
    .main-nav {
        display: flex !important;
        position: static;
        width: auto;
        padding: 0;
        box-shadow: none;
        border: none;
        opacity: 1;
        transform: none;
        visibility: visible;
        pointer-events: auto;
        background-color: transparent;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .main-nav a {
        font-size: 1.25rem;
        padding: 12px 22px;
        border-radius: var(--radius);
        font-weight: 600;
    }

    .main-nav li:last-child a {
        margin-right: -22px;
    }

    .main-nav a:hover {
        background-color: rgba(164, 0, 0, 0.08);
        color: var(--color-primary);
        transform: translateX(0);
    }

    .main-nav a.active {
        background-color: var(--color-primary);
        color: var(--color-white);
        transform: translateX(0);
    }



    /* Gallery Grid: 3 columns on desktop */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 20px;
        grid-auto-flow: dense;
    }

    .gallery-item.portrait:nth-child(1) {
        grid-column: 2;
        grid-row: 1 / span 3;
    }

    .gallery-item.portrait:nth-child(2) {
        grid-column: 3;
        grid-row: 1 / span 3;
    }

    /* Gallery Grid (Project Showcase) */
    .gallery-project-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 40px;
    }

    .project-card {
        background: var(--color-white);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid var(--color-border);
        display: flex;
        flex-direction: column;
    }

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-primary);
    }

    .project-image-box {
        width: 100%;
        height: 250px;
        overflow: hidden;
    }

    .project-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .project-card:hover .project-image-box img {
        transform: scale(1.05);
    }

    .project-info {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .project-info h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
        color: var(--color-primary-dark);
        border-bottom: 2px solid transparent;
        width: fit-content;
        transition: border-color 0.3s ease;
    }

    .project-card:hover .project-info h3 {
        border-color: var(--color-primary);
    }

    .project-info p {
        font-size: 0.95rem;
        color: var(--color-text-body);
        line-height: 1.6;
    }

    h1 {
        font-size: 3.8rem;
        margin-bottom: 30px;
        line-height: 1.15;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }

    .hero-text {
        text-align: left;
        flex: 1;
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-image {
        flex: 1;
        order: 2;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        font-size: 1.35rem;
        line-height: 1.9;
        margin-bottom: 40px;
    }

    .cta-group {
        justify-content: flex-start;
        gap: 20px;
    }

    .hero-section .btn {
        padding: 18px 40px;
        font-size: 1.1rem;
        font-weight: 700;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Service Detail */
    .service-detail h2 {
        text-align: center;
    }

    /* Page Intro */
    .page-intro {
        margin-top: 5px;
        margin-bottom: 10px;
        padding: 0;
    }

    .page-intro p {
        max-width: 100%;
    }

    /* Contact Page */
    .contact-grid {
        display: grid;
        grid-template-columns: 2fr 3fr;
        gap: 25px;
        align-items: stretch;
    }

    .contact-card-logo {
        display: flex;
    }

    .contact-form .form-row {
        flex-direction: row;
        gap: 15px;
    }
}

/* =========================================
   SIDEBAR & ALIGNMENT UPDATES
   ========================================= */

/* Sidebar Styling */
.services-sidebar {
    height: fit-content;
}

/* Sidebar Page Intro adjustments */
.services-sidebar .page-intro {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.services-sidebar .page-intro h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    margin-top: 0;
    color: var(--color-primary-dark);
}

.services-sidebar .page-intro p {
    font-size: 0.95rem;
    color: var(--color-text-body);
}

.services-sidebar .page-intro::after {
    display: none;
}

/* Force alignment of Content Title with Sidebar Title */
.service-detail h2 {
    margin-top: 0;
}

/* Mobile Sidebar: Compact 2x2 Button Grid */
@media (max-width: 991px) {
    .services-sidebar .page-intro {
        display: none;
    }

    .services-sidebar ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .services-sidebar .service-nav-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
        border: 1.5px solid #ccc;
    }

    .services-sidebar .service-nav-btn.active {
        border-color: var(--color-primary);
    }

    .service-detail h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .service-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .process-section-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 20px;
    }
}