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

:root {
    --bg-light: #ffffff;
    --bg-lighter: #f8f8f8;
    --bg-dark: #e8e8e8;
    --bg-accent: #111111;
    --text-primary: #111111;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --border: rgba(0,0,0,0.1);
    --border-dark: rgba(0,0,0,0.2);
    --apple-green: #b0cb1f;
}

body {
    font-family: 'Nimbus Sans L', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Typography - Headings (proper hierarchy: h1 largest → h6 smallest) */
h1 {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 6px;
    line-height: 1.3;
    margin-bottom: 50px;
    color: var(--apple-green);
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 4px;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-transform: uppercase;
}

h3 {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--apple-green);
    text-transform: uppercase;
}

h4 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
}

h5 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-transform: uppercase;
}

h6 {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Section Labels (decorative small text above headings) */
.section-label, .services-label, .projects-label, .philosophy-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--apple-green);
    margin-bottom: 40px;
    font-weight: 500;
}

/* Section Titles (main section headings) */
.section-title, .philosophy-title {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 4px;
    line-height: 1.4;
    margin-bottom: 50px;
    text-transform: lowercase;
    color: var(--text-primary);
}

/* Top Contact Bar */
.top-contact-bar {
    background: var(--apple-green);
    color: #5b5b5b;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.top-contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.top-contact-container a {
    color: #5b5b5b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.top-contact-container a:hover {
    opacity: 0.8;
}

/* Inner page content wrapper */
.page-content {
    padding: 80px 0;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 998;
}

/* In edit mode, use static positioning to avoid overlapping CMS sidebar */
html.ccm-edit-mode header {
    position: static;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 0;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide Concrete CMS responsive menu elements */
.nav-links .ccm-responsive-menu-launch {
    display: none !important;
}

/* Target Concrete CMS ccm-responsive-navigation wrapper */
.nav-links .ccm-responsive-navigation {
    display: flex !important;
    flex-direction: row !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links .ccm-responsive-navigation > ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 40px;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Target main navigation items */
.nav-links .ccm-responsive-navigation > ul > li {
    position: relative;
    display: inline-block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main navigation links */
.nav-links .ccm-responsive-navigation > ul > li > a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: block;
    position: relative;
    white-space: nowrap;
}

.nav-links .ccm-responsive-navigation > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--apple-green);
    transition: width 0.3s ease;
}

.nav-links .ccm-responsive-navigation > ul > li > a:hover {
    color: var(--apple-green);
}

.nav-links .ccm-responsive-navigation > ul > li > a:hover::after,
.nav-links .ccm-responsive-navigation > ul > li > a.nav-path-selected::after {
    width: 100%;
}

.nav-links .ccm-responsive-navigation > ul > li > a.nav-path-selected {
    color: var(--apple-green);
    font-weight: 600;
}

/* Dropdown/Submenu styles */
.nav-links .ccm-responsive-navigation > ul > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-light);
    min-width: 220px;
    padding: 15px 0;
    margin: 0 !important;
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    border-top: 2px solid var(--apple-green);
    z-index: 1000;
    display: block !important;
}

/* Right-align dropdown for last two menu items to prevent overflow */
.nav-links .ccm-responsive-navigation > ul > li:nth-last-child(-n+2) > ul {
    left: auto;
    right: 0;
}

.nav-links .ccm-responsive-navigation > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu items */
.nav-links .ccm-responsive-navigation > ul > li > ul > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links .ccm-responsive-navigation > ul > li > ul > li > a {
    padding: 10px 25px;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-links .ccm-responsive-navigation > ul > li > ul > li > a::after {
    display: none !important;
}

.nav-links .ccm-responsive-navigation > ul > li > ul > li > a:hover {
    background: var(--bg-lighter);
    border-left-color: var(--apple-green);
    color: var(--apple-green);
    padding-left: 30px;
}

.nav-links .ccm-responsive-navigation > ul > li > ul > li > a.nav-path-selected {
    background: var(--bg-lighter);
    border-left-color: var(--apple-green);
    color: var(--apple-green);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* Hero with Logo */
.hero-logo {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 130px;
}

.hero-logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.02) 0%, transparent 50%);
}

.hero-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-logo-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.hero-logo-image {
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.3s;
}

.hero-logo-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-logo-subtitle {
    font-size: 1rem;
    color: #888888;
    font-weight: 200;
    letter-spacing: 2px;
    line-height: 2;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.9s;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 20px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--text-secondary);
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
}

/* Original Hero (text-based) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.02) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 200;
    letter-spacing: 15px;
    margin-bottom: 50px;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.3s;
}

.hero-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 2;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    animation: fadeUp 1.2s ease forwards 0.6s;
}

/* Philosophy Section */
.philosophy-section {
    padding: 180px 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--border));
}

.philosophy-container {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-label {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.philosophy-title {
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
}

.philosophy-description {
    font-size: 1rem;
    color: #888888;
    font-weight: 200;
    letter-spacing: 0.5px;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.4s;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    text-align: center;
}

.services-label {
    margin-bottom: 60px;
    display: block;
}

.services-grid {
    max-width: 1600px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.service-item {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-light);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

/* Border styling for Bootstrap grid - desktop 4 columns */
@media (min-width: 992px) {
    .services-grid .col-lg-3:nth-child(4n) .service-item {
        border-right: none;
    }
    .services-grid .col-lg-3:nth-last-child(-n+4) .service-item {
        border-bottom: none;
    }
}

/* Border styling for Bootstrap grid - tablet 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
    .services-grid .col-md-6:nth-child(2n) .service-item {
        border-right: none;
    }
    .services-grid .col-md-6:nth-last-child(-n+2) .service-item {
        border-bottom: none;
    }
}

/* Border styling for Bootstrap grid - mobile 1 column */
@media (max-width: 767.98px) {
    .service-item {
        border-right: none;
    }
    .services-grid .col-12:last-child .service-item {
        border-bottom: none;
    }
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 90%;
    aspect-ratio: 1;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transition: transform 0.4s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-icon-placeholder span {
    color: var(--apple-green);
}

.service-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.service-item:hover .service-title {
    color: var(--apple-green);
}

.service-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Projects Slider Section */
.projects-section {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-light);
}

.projects-label {
    margin-bottom: 60px;
    display: block;
}

.projects-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--bg-dark);
}

.projects-slider-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.project-slide {
    min-width: 100%;
    position: relative;
    height: 600px;
}

.project-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-slide:hover .project-image img {
    transform: scale(1.05);
}

.project-image-placeholder {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 80px 80px 60px;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.project-overlay-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 20px;
}

.project-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
}

.project-link {
    display: inline-block;
    color: var(--apple-green);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--apple-green);
    padding-bottom: 5px;
}

.project-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: var(--apple-green);
    color: #ffffff;
}

.slider-prev {
    left: 40px;
}

.slider-next {
    right: 40px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.slider-dot-active,
.slider-dot:hover {
    background: var(--apple-green);
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 180px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-light);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--border));
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 120px;
    position: relative;
}

.section-intro::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--border);
}

.section-label {
    color: var(--text-secondary);
    display: block;
}

.section-title {
    letter-spacing: 8px;
}

.section-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2.2;
    font-weight: 300;
}

/* Specialization Grid */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    margin-top: 100px;
}

.spec-item {
    text-align: center;
    padding: 80px 40px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
    background: var(--bg-light);
}

.spec-item:nth-child(3n) {
    border-right: none;
}

.spec-item:nth-child(n+5) {
    border-bottom: none;
}

.spec-item:hover {
    background: var(--bg-accent);
    transform: translateY(-5px);
}

.spec-item:hover .spec-title,
.spec-item:hover .spec-desc {
    color: var(--text-light);
}

.spec-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0.7;
    transition: opacity 0.4s;
}

.spec-item:hover .spec-icon {
    opacity: 1;
}

.spec-title {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    transition: color 0.4s;
}

.spec-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    transition: color 0.4s;
}

/* Projects Section */
.projects {
    background: var(--bg-lighter);
    padding: 180px 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border);
}

.project-card {
    aspect-ratio: 1;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.6s;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(17,17,17,0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-category {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* Stats Section */
.stats {
    padding: 180px 80px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-accent);
}

.stats .section-label {
    color: var(--text-secondary);
}

.stats .section-title {
    color: var(--text-light);
}

.stats-grid {
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 80px;
}

.stat-item {
    text-align: center;
    padding: 60px 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s;
    background: transparent;
}

/* Border styling for Bootstrap stats grid - desktop 4 columns */
@media (min-width: 992px) {
    .stats-grid .col-lg-3:last-child .stat-item {
        border-right: none;
    }
}

/* Border styling for Bootstrap stats grid - tablet 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
    .stats-grid .col-md-6:nth-child(2n) .stat-item {
        border-right: none;
    }
    .stats-grid .col-md-6:nth-child(n+3) .stat-item {
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* Border styling for Bootstrap stats grid - mobile 1 column */
@media (max-width: 767.98px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .stats-grid .col-12:last-child .stat-item {
        border-bottom: none;
    }
}

.stat-item:hover {
    background: rgba(255,255,255,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
    color: var(--text-light);
    transition: color 0.4s;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.4s;
}

/* Wartung Section */
.wartung {
    padding: 180px 80px;
    background: var(--bg-lighter);
}

.wartung-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.wartung-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 80px;
    margin-top: 80px;
}

.form-section {
    margin-bottom: 60px;
}

.form-section-title {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    padding: 15px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 300;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: var(--bg-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload {
    border: 2px dashed var(--border);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-lighter);
}

.file-upload:hover {
    border-color: var(--text-primary);
    background: var(--bg-light);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.file-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--bg-lighter);
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.file-remove {
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.file-remove:hover {
    color: var(--text-primary);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--bg-accent);
    border: 1px solid var(--bg-accent);
    color: var(--text-light);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 300;
    margin-top: 40px;
}

.submit-btn:hover {
    background: transparent;
    color: var(--bg-accent);
}

/* Contact Section */
.contact {
    padding: 180px 80px;
    background: var(--bg-light);
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    --bs-gutter-x: 80px;
    --bs-gutter-y: 60px;
    margin-top: 100px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.8;
}

.contact-form .form-control {
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    padding: 15px 20px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 300;
    border-radius: 0;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--text-primary);
    background: var(--bg-light);
    box-shadow: none;
}

.contact-form .form-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: var(--bg-lighter);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 80px 40px;
}

.footer-main {
    margin-bottom: 80px;
}

.footer-main .row {
    --bs-gutter-x: 80px;
    margin-left: 0;
    margin-right: 0;
}

.footer-logo {
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: lowercase;
    margin-bottom: 60px;
    font-weight: 300;
    color: var(--text-primary);
}

.footer-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-detail h4 {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-detail p,
.footer-detail a {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 300;
    line-height: 1.8;
    text-decoration: none;
    margin: 0;
}

.footer-detail a:hover {
    color: var(--apple-green);
}

.footer-form {
    /* Styles for contact form area */
}

/* Form Styling */
.footer-form input[type="text"],
.footer-form input[type="email"],
.footer-form input[type="tel"],
.footer-form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-family: 'Nimbus Sans L', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
    margin-bottom: 0;
}

.footer-form input[type="text"]:focus,
.footer-form input[type="email"]:focus,
.footer-form input[type="tel"]:focus,
.footer-form textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--apple-green);
}

.footer-form textarea,
textarea {
    min-height: 120px;
    resize: vertical;
}

.footer-form label,
form label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-form button[type="submit"],
.footer-form input[type="submit"],
button[type="submit"],
input[type="submit"] {
    background: var(--text-primary);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-family: 'Nimbus Sans L', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.footer-form button[type="submit"]:hover,
.footer-form input[type="submit"]:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--apple-green);
}

/* Hide ugly captcha styling */
.footer-form .ccm-captcha-block,
.ccm-captcha-block {
    margin: 20px 0;
}

.footer-form .ccm-captcha-block img,
.ccm-captcha-block img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

/* Form field wrapper */
.footer-form .form-group,
.form-group {
    margin-bottom: 0;
}

/* Labels are now visible - removed hiding CSS */

/* Two-column form layout */
.footer-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Ensure individual form fields take one column by default */
.footer-form .form-group {
    grid-column: span 1;
}

/* Message/textarea field spans full width */
.footer-form .form-group:has(textarea),
.footer-form textarea {
    grid-column: span 2;
}

/* Captcha and submit buttons span full width */
.footer-form .ccm-captcha-block,
.footer-form .form-group:has(.ccm-captcha-block),
.footer-form .form-group:has(button[type="submit"]),
.footer-form .form-group:has(input[type="submit"]),
.footer-form button[type="submit"],
.footer-form input[type="submit"] {
    grid-column: span 2;
}

/* Required field indicator */
.footer-form .ccm-required,
.ccm-required {
    color: #d32f2f;
}

/* ================================================
   Content Two-Column Form (Wartung/Service etc.)
   ================================================ */

/* Apply grid directly to the form element */
.muenzker-two-column-form .ccm-dashboard-express-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Default: fields take one column */
.muenzker-two-column-form .mb-3 {
    grid-column: span 1;
}

/* Address fieldset - use display:contents to remove from grid flow */
.muenzker-two-column-form fieldset.mb-3 {
    display: contents !important;
}

.muenzker-two-column-form fieldset.mb-3 legend {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 400;
    padding: 0;
    border: none;
    width: 100%;
}

/* Address inner wrapper - full width, spans both grid columns, uses grid for 2-col layout */
.muenzker-two-column-form .ccm-attribute-address-composer-wrapper,
.muenzker-two-column-form fieldset.mb-3 > div[class*="ccm-attribute-address"] {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100% !important;
}

/* Address fields - each takes 50% (one grid column) */
.muenzker-two-column-form .ccm-attribute-address-line {
    width: 100%;
    margin-bottom: 0 !important;
}

/* File upload spans full width */
.muenzker-two-column-form .mb-3:has(concrete-file-input),
.muenzker-two-column-form .mb-3:has(input[type="file"]) {
    grid-column: span 2;
    width: 100%;
}

/* File upload - native input[type="file"] styling */
.muenzker-two-column-form input[type="file"] {
    display: block;
    margin-top: 10px;
    padding: 12px 20px;
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    font-family: 'Nimbus Sans L', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.muenzker-two-column-form input[type="file"]:hover {
    border-color: var(--apple-green);
    background: var(--bg-light);
}

.muenzker-two-column-form input[type="file"]::file-selector-button {
    background: var(--apple-green);
    color: var(--text-primary);
    border: none;
    padding: 8px 20px;
    font-family: 'Nimbus Sans L', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.muenzker-two-column-form input[type="file"]::file-selector-button:hover {
    background: var(--text-primary);
    color: #ffffff;
}

.muenzker-two-column-form .ccm-file-selector-file-selected {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Textarea/message spans full width */
.muenzker-two-column-form .mb-3:has(textarea) {
    grid-column: span 2;
}

/* Captcha spans full width */
.muenzker-two-column-form .form-group.captcha,
.muenzker-two-column-form .captcha {
    grid-column: span 2;
}

/* Submit button area spans full width */
.muenzker-two-column-form .form-actions {
    grid-column: span 2;
}

.muenzker-two-column-form .btn-primary {
    background: var(--text-primary);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-family: 'Nimbus Sans L', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 0;
}

.muenzker-two-column-form .btn-primary:hover {
    background: var(--apple-green);
}

/* Form control styling */
.muenzker-two-column-form .form-control,
.muenzker-two-column-form .form-select {
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    padding: 12px 15px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 300;
    border-radius: 0;
    color: var(--text-primary);
}

.muenzker-two-column-form .form-control:focus,
.muenzker-two-column-form .form-select:focus {
    outline: none;
    border-color: var(--apple-green);
    background: var(--bg-light);
    box-shadow: none;
}

/* Hide required text, show with color instead */
.muenzker-two-column-form .text-muted.small {
    display: none;
}

/* Responsive - single column on mobile */
@media (max-width: 768px) {
    .muenzker-two-column-form {
        grid-template-columns: 1fr;
    }

    .muenzker-two-column-form .mb-3,
    .muenzker-two-column-form fieldset.mb-3,
    .muenzker-two-column-form .mb-3:has(textarea),
    .muenzker-two-column-form .form-group.captcha,
    .muenzker-two-column-form .captcha,
    .muenzker-two-column-form .form-actions {
        grid-column: span 1;
    }

    .muenzker-two-column-form .ccm-attribute-address-composer-wrapper {
        grid-template-columns: 1fr;
    }
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--apple-green);
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .top-contact-container {
        padding: 0 40px;
    }

    nav, .about, .philosophy-section, .services-section, .projects, .stats, .wartung, .contact {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-content {
        padding: 0 40px;
    }

    .hero-logo-content {
        padding: 0 40px;
    }

    .hero-logo-image img {
        max-width: 450px;
    }

    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 10px;
    }

    /* Spec grid - keep custom (not a Bootstrap block) */
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-item:nth-child(2n) {
        border-right: none;
    }

    .spec-item:nth-child(n+5) {
        border-bottom: 1px solid var(--border);
    }

    .spec-item:nth-child(5),
    .spec-item:nth-child(6) {
        border-bottom: none;
    }

    /* Projects grid - keep custom (not a Bootstrap block) */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wartung-form {
        padding: 60px 40px;
    }

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

@media (max-width: 768px) {
    .page-content {
        padding: 60px 0;
    }

    .top-contact-bar {
        padding: 6px 0;
        font-size: 12px;
    }

    .top-contact-container {
        padding: 0 30px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header {
        top: 0;
    }

    nav {
        padding: 25px 30px;
    }

    .logo img {
        max-height: 40px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    .burger {
        display: none;
    }

    .hero-logo-content {
        padding: 0 30px;
    }

    .hero-logo-image img {
        max-width: 350px;
    }

    .hero-logo-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .about, .philosophy-section, .services-section, .projects, .stats, .wartung, .contact {
        padding: 100px 30px;
    }

    .footer-content {
        padding: 60px 30px 30px;
    }

    .footer-main .row {
        --bs-gutter-x: 30px;
        --bs-gutter-y: 60px;
    }

    .footer-form form {
        grid-template-columns: 1fr;
    }

    .footer-form .form-group,
    .footer-form textarea,
    .footer-form .form-group:has(textarea),
    .footer-form .ccm-captcha-block,
    .footer-form .form-group:has(button[type="submit"]),
    .footer-form .form-group:has(input[type="submit"]),
    .footer-form button[type="submit"],
    .footer-form input[type="submit"] {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .services-section {
        padding: 100px 30px;
    }

    /* Spec and projects grids - keep custom (not Bootstrap blocks) */
    .spec-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .spec-item {
        border-right: none;
    }

    .footer-nav {
        flex-direction: column;
        gap: 25px;
    }

    .wartung-form {
        padding: 40px 30px;
    }
}

/* Mobile Navigation - Small screens */
@media (max-width: 480px) {
    .page-content {
        padding: 40px 0;
    }

    nav {
        padding: 20px 20px;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: var(--bg-light) !important;
        flex-direction: column !important;
        padding: 80px 30px !important;
        gap: 30px !important;
        transition: right 0.4s ease !important;
        border-left: 1px solid var(--border) !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1) !important;
        z-index: 999 !important;
        overflow-y: auto !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    /* Target the Concrete CMS navigation wrapper inside mobile menu */
    .nav-links .ccm-responsive-navigation {
        flex-direction: column !important;
        width: 100% !important;
    }

    .nav-links .ccm-responsive-navigation > ul {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .nav-links .ccm-responsive-navigation > ul > li {
        display: block !important;
        width: 100% !important;
    }

    .nav-links .ccm-responsive-navigation > ul > li > a {
        font-size: 1rem !important;
        padding: 15px 0 !important;
        width: 100% !important;
        display: block !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .nav-links .ccm-responsive-navigation > ul > li > a::after {
        display: none !important;
    }

    /* Mobile dropdown styling */
    .nav-links .ccm-responsive-navigation > ul > li > ul {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: none !important;
        padding: 0 0 0 20px !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .nav-links .ccm-responsive-navigation > ul > li > ul > li > a {
        font-size: 0.9rem !important;
        padding: 12px 0 !important;
        border-left: none !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .burger {
        display: flex;
        z-index: 1000;
    }

    .logo img {
        max-height: 35px;
    }

    header {
        top: 0;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
}

/* ================================================
   Masonry Gallery
   ================================================ */

.gallery-section {
    padding: 80px 0;
}

.gallery-section h3 {
    text-align: left;
}

.gallery-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--apple-green);
    margin-bottom: 60px;
    font-weight: 500;
}

.masonry-gallery {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    columns: 4;
    column-gap: 15px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    background: var(--bg-lighter);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.gallery-link {
    display: block;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 40px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.gallery-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.5;
}

.gallery-empty {
    padding: 60px 40px;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    margin-top: 20px;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--apple-green);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--apple-green);
    color: var(--text-primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive Masonry */
@media (max-width: 1200px) {
    .masonry-gallery {
        columns: 3;
    }
}

@media (max-width: 768px) {
    .masonry-gallery {
        columns: 2;
        padding: 0 20px;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 15px 10px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .masonry-gallery {
        columns: 1;
    }
}
