/* ============================================
   BAU-MA | Modern Construction Website
   Colors: #008d4e (green), #424040 (gray), #000125 (navy)
   ============================================ */

/* --- CSS Variables --- */
:root {
    --green: #008d4e;
    --green-light: #00a85a;
    --green-dark: #006b3a;
    --green-bg: #f0faf5;
    --gray: #424040;
    --gray-light: #6b6969;
    --gray-lighter: #f5f5f5;
    --navy: #000125;
    --navy-light: #0a0a3a;
    --white: #ffffff;
    --black: #0a0a0a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 120px;
    margin: 0 auto 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--gray-lighter);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 10px;
    animation: load 1.5s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 20px;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 36px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(0,0,0,0.06);
}

.cookie-text h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.cookie-text p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.cookie-link {
    font-size: 0.85rem;
    color: var(--green);
    font-weight: 600;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 141, 78, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid rgba(0,1,37,0.15);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-glass {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-white:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 141, 78, 0.3);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 64px;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .nav-logo img {
    height: 52px;
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--white);
    border-radius: 50px;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--navy);
}

.nav-link:hover,
.nav-link.active {
    color: var(--green);
}

.nav-link.active {
    background: rgba(0, 141, 78, 0.1);
}

.navbar:not(.scrolled) .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.nav-cta {
    margin-left: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--navy);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--navy);
}

.hero-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 1, 37, 0.85) 0%,
        rgba(0, 1, 37, 0.6) 50%,
        rgba(0, 141, 78, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 100px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--green-light);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    color: var(--green-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}

.stat-number {
    display: inline;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    display: inline;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green-light);
    vertical-align: baseline;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header h2,
.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.text-accent {
    color: var(--green);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 1.8;
}

/* --- Services --- */
.services {
    background: var(--gray-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}

.service-card.featured {
    background: var(--white);
    color: inherit;
}

.service-card.featured .service-icon {
    background: var(--green-bg);
    color: var(--green);
}

.service-card.featured h3 {
    color: var(--navy);
}

.service-card.featured p {
    color: var(--gray-light);
}

.service-card.featured .service-features li {
    color: var(--gray);
}

.service-card.featured .service-features i {
    color: var(--green);
}

.service-card.featured .card-link {
    color: var(--green);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray);
    font-weight: 500;
}

.service-features i {
    color: var(--green);
    font-size: 0.75rem;
}

/* --- About Section --- */
.about-teaser,
.about-story {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.exp-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content > p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.6;
}

/* --- Parallax CTA --- */
.parallax-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,1,37,0.9), rgba(0,141,78,0.7));
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.parallax-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 16px;
}

.parallax-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.parallax-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Gallery --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid var(--gray-lighter);
    background: var(--white);
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,1,37,0.7), rgba(0,141,78,0.5));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 1.5rem;
}

.gallery-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--green);
    border-color: var(--green);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Contact --- */
.contact {
    background: var(--gray-lighter);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 16px 0;
}

.contact-item:not(:last-child) {
    border-bottom: 1px solid var(--gray-lighter);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p,
.contact-item a {
    font-size: 0.93rem;
    color: var(--gray);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--green);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 141, 78, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--green);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.form-checkbox a {
    color: var(--green);
    font-weight: 600;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success i {
    font-size: 3.5rem;
    color: var(--green);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--gray-light);
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--green-light);
    padding-left: 6px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--green-light);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
    color: var(--green-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--green-light);
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 141, 78, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

/* --- Scroll Animations --- */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
    padding-top: 120px;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-page .legal-content {
    flex: 1;
    padding-bottom: 80px;
}

.legal-page .footer {
    margin-top: auto;
}

.legal-page .navbar {
    background: var(--white);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.legal-page .nav-link {
    color: var(--navy);
}

.legal-page .nav-toggle span {
    background: var(--navy);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.legal-content .legal-subtitle {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gray-lighter);
}

.legal-content h2 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 14px;
    padding-left: 24px;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 6px;
    color: var(--gray);
    line-height: 1.7;
}

.legal-content a {
    color: var(--green);
    font-weight: 500;
}

.legal-content a.btn {
    color: var(--white);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content a.btn:hover {
    text-decoration: none;
}

/* --- Thank You Page --- */
body.legal-page.thankyou-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
}

.thankyou-page .navbar {
    flex-shrink: 0;
}

.thankyou-page .footer {
    flex-shrink: 0;
    margin-top: auto;
}

.thankyou-content {
    text-align: center;
    padding-top: 160px;
    padding-bottom: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thankyou-icon {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 24px;
}

.thankyou-text {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 20px auto 40px;
}

@media (max-width: 480px) {
    .thankyou-content {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .thankyou-icon {
        font-size: 3rem;
    }

    .thankyou-text {
        font-size: 1rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-img-main img {
        height: 350px;
    }

    .parallax-bg {
        background-attachment: scroll;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-contact {
        grid-column: span 2;
    }

    .hero-content {
        padding: 120px 0 80px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 40px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--navy);
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        width: 100%;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--green-bg);
        color: var(--green);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-content {
        padding: 110px 24px 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 24px;
    }

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

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

    .about-img-main img {
        height: 300px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -20px;
    }

    .about-images {
        padding-right: 20px;
        padding-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

    .cookie-content {
        flex-direction: column;
        padding: 24px;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-contact {
        grid-column: span 1;
    }

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

    .legal-content h1 {
        font-size: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 24px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.78rem;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: auto;
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-suffix {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-divider {
        width: 1px;
        height: 30px;
    }

    .service-card {
        padding: 30px 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        border-radius: var(--radius-sm);
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .about-img-main img {
        height: 250px;
    }

    .about-img-secondary {
        right: -10px;
        width: 140px;
    }

    .about-img-secondary img {
        height: 110px;
    }

    .about-images {
        padding-right: 10px;
        padding-bottom: 20px;
    }

    .about-experience-badge {
        left: -10px;
        top: -10px;
        width: 90px;
        height: 90px;
    }

    .exp-number {
        font-size: 1.5rem;
    }

    .exp-text {
        font-size: 0.65rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }

    .lightbox-close {
        width: 44px;
        height: 44px;
    }

    .contact-teaser-map {
        min-height: 250px;
    }

    .contact-teaser-map iframe {
        min-height: 250px;
    }
}

/* ============================================
   MULTI-PAGE ADDITIONS
   ============================================ */

/* --- Page Hero (subpages) --- */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,1,37,0.88), rgba(0,141,78,0.5));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--green-light);
}

.breadcrumb i {
    font-size: 0.65rem;
}

/* --- Card Link --- */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green);
    margin-top: auto;
    padding: 10px 0 2px;
    min-height: 44px;
}

.service-card.featured .card-link {
    color: var(--green-light);
}

.card-link:hover {
    gap: 12px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

/* --- Section CTA --- */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Gallery Preview (homepage) --- */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 16px;
}

.gallery-preview-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    min-height: 220px;
}

.gallery-preview-item.large {
    grid-row: span 2;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.08);
}

.gallery-preview-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,1,37,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-preview-item .gallery-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Contact Teaser (homepage) --- */
.contact-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-teaser-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-teaser-info > p {
    color: var(--gray-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-teaser-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-teaser-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.contact-teaser-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact-teaser-item a:hover {
    color: var(--green);
}

.contact-teaser-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.contact-teaser-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- Service Detail (leistungen.html) --- */
.service-detail.alt-bg {
    background: var(--gray-lighter);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.service-detail-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.service-detail-lead {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 500;
}

.service-detail-content p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
    margin-top: 24px;
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.service-detail-list i {
    color: var(--green);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.service-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-img-grid img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-img-grid img:hover {
    transform: scale(1.03);
}

.service-img-grid.two-images {
    grid-template-columns: 1fr;
}

.service-img-grid.two-images img {
    height: 280px;
}

/* --- Values (ueber-uns) --- */
.values-section.alt-bg {
    background: var(--gray-lighter);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,141,78,0.15);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.7;
}

/* --- Why Us (ueber-uns) --- */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.why-us-content > p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 36px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-us-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    flex-shrink: 0;
    width: 50px;
}

.why-us-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.why-us-feature p {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.7;
}

.why-us-images {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
}

.why-img-1 {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.why-img-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

/* --- Stats (ueber-uns) --- */
.stats-section {
    background: var(--navy);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-card .stat-number {
    font-size: 3rem;
    color: var(--white);
    display: inline;
}

.stat-card .stat-suffix {
    font-size: 2.2rem;
}

.stat-card .stat-label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* --- Quick Contact Cards (kontakt) --- */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.quick-contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid transparent;
    display: block;
}

.quick-contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--green);
    box-shadow: var(--shadow-xl);
}

.qc-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.quick-contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.quick-contact-card p {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 4px;
}

.qc-label {
    font-size: 0.82rem;
    color: var(--gray-light);
}

/* --- Contact Extra --- */
.contact-extra {
    margin-top: 24px;
    padding: 24px;
    background: var(--green-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--green);
}

.contact-extra h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.contact-extra p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.contact-main h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-main > .container > .contact-grid > .contact-info > p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.form-hint {
    font-size: 0.82rem;
    color: var(--gray-light);
    margin-top: 12px;
    text-align: center;
}

.form-success .btn {
    margin-top: 20px;
}

/* --- Map Section (kontakt) --- */
.map-section {
    width: 100%;
    line-height: 0;
}

.map-section iframe {
    width: 100%;
    display: block;
}

/* --- Gallery overlay text for subpage --- */
.gallery-page .gallery-overlay span {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

/* ============================================
   MULTI-PAGE RESPONSIVE
   ============================================ */

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

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

    .gallery-preview {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 180px);
    }

    .gallery-preview-item.large {
        grid-row: span 2;
    }
}

@media (max-width: 992px) {
    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-detail-images {
        order: -1;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-images {
        max-width: 500px;
    }

    .contact-teaser-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-teaser-map {
        min-height: 300px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .gallery-preview {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-preview-item.large {
        grid-row: span 1;
    }

    .gallery-preview-item {
        height: 200px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
        min-height: 320px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .service-detail-list {
        grid-template-columns: 1fr;
    }

    .service-img-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-img-grid img {
        height: 170px;
    }

    .service-img-grid.two-images img {
        height: 220px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-preview-item {
        height: 160px;
    }

    .why-us-images {
        padding-left: 15px;
        padding-bottom: 15px;
    }

    .why-img-1 {
        height: 300px;
    }

    .why-img-2 {
        width: 150px;
        height: 150px;
        left: -10px;
        bottom: -20px;
    }

    .gallery-preview-item .gallery-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 120px 0 50px;
        min-height: 280px;
    }

    .service-img-grid {
        grid-template-columns: 1fr;
    }

    .service-img-grid img {
        height: 200px;
    }

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

    .stat-card .stat-number {
        font-size: 2.2rem;
    }

    .gallery-preview-item {
        height: 140px;
    }

    .why-us-images {
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .why-img-1 {
        height: 250px;
    }

    .why-img-2 {
        width: 120px;
        height: 120px;
        left: -5px;
        bottom: -10px;
    }

    .contact-cards-grid {
        gap: 16px;
    }
}

/* --- Touch Device Hover Reset --- */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
        border-color: transparent;
    }

    .service-card.featured:hover {
        border-color: transparent;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 0;
    }

    .gallery-preview-item:hover img {
        transform: none;
    }

    .value-card:hover {
        transform: none;
        box-shadow: none;
    }

    .quick-contact-card:hover {
        transform: none;
        border-color: transparent;
    }

    .footer-social a:hover {
        transform: none;
    }

    .btn-primary:hover,
    .btn-glass:hover,
    .btn-white:hover {
        transform: none;
    }
}
