/*
Theme Name: Alpinexbau
Theme URI: https://alpinexbau.at
Author: 360digital
Author URI: https://360digital.ch
Description: Premium Theme für Alpinexbau KG - Baufirma in Landeck, Tirol
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alpinexbau
*/

/* ===== Design System ===== */
:root {
    --gold: #CFA138;
    --gold-dark: #b0882e;
    --gold-light: #E0BD6B;
    --gold-10: rgba(207,161,56,.1);
    --gold-20: rgba(207,161,56,.2);
    --dark: #111827;
    --dark-800: #1F2937;
    --dark-700: #374151;
    --dark-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --nav-h: 80px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-out: cubic-bezier(0,0,.2,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); color: var(--dark-800); background: var(--white); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-dark); }
img.wp-smiley, img.emoji { display: none !important; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--dark); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; }
.gold { color: var(--gold); }

/* ===== Container ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .875rem 2rem; border-radius: 999px; font-weight: 600; font-size: .95rem; font-family: var(--font-body); cursor: pointer; border: 2px solid transparent; transition: all .3s var(--ease); text-align: center; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(207,161,56,.35); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-full { width: 100%; }

/* ===== Navigation ===== */
.site-nav { position: fixed; width: 100%; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: all .3s var(--ease); border-bottom: 1px solid rgba(0,0,0,.05); }
.site-nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); }
.nav-logo img { height: 68px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links > a, .nav-dropdown-trigger { color: var(--dark-800); font-weight: 500; font-size: .9rem; letter-spacing: .01em; transition: color .2s; position: relative; }
.nav-links > a:hover, .nav-dropdown-trigger:hover { color: var(--gold); }
.nav-links > a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links > a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-trigger svg { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: 100%; left: -1rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: .5rem; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease); border: 1px solid var(--gray-200); }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: .625rem 1rem; color: var(--dark-800); font-size: .875rem; font-weight: 500; border-radius: var(--radius); transition: all .15s; }
.nav-dropdown-menu a:hover { background: var(--gold-10); color: var(--gold); }
.nav-dropdown-menu a::after { display: none; }

/* CTA Button */
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: .625rem 1.5rem !important; border-radius: 999px !important; font-weight: 600 !important; transition: all .3s var(--ease) !important; }
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px) !important; box-shadow: 0 4px 12px rgba(207,161,56,.3) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: .5rem; width: 44px; height: 44px; }
.hamburger { display: block; width: 24px; height: 2px; background: var(--dark-800); position: relative; transition: background .2s; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 24px; height: 2px; background: var(--dark-800); left: 0; transition: all .3s var(--ease); }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--white); z-index: 99; overflow-y: auto; }
.mobile-menu.active { display: block; animation: slideDown .3s var(--ease-out); }
.mobile-menu-inner { padding: 1.5rem; }
.mobile-menu-inner > a { display: block; padding: 1rem; color: var(--dark-800); font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--gray-200); }
.mobile-menu-inner > a:hover { color: var(--gold); }
.mobile-sub { padding-left: 1rem; }
.mobile-sub a { display: block; padding: .75rem 1rem; color: var(--gray-500); font-size: .95rem; font-weight: 500; }
.mobile-sub a:hover { color: var(--gold); }

@media (min-width: 1024px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.3) 100%); }
.hero-content { position: relative; z-index: 10; width: 100%; padding-top: var(--nav-h); }
.hero-badge { display: inline-block; background: var(--gold-20); color: var(--gold-light); padding: .5rem 1.25rem; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid var(--gold-20); }
.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-sub { color: rgba(255,255,255,.75); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 600px; font-weight: 300; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; animation: bounce 2s infinite; opacity: .6; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Trust Strip ===== */
.trust-strip { background: var(--dark); padding: 3rem 0; border-bottom: 3px solid var(--gold); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
.trust-strip-item { padding: 1.25rem 1rem; position: relative; }
.trust-strip-number { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gold); line-height: 1; }
.trust-strip-plus { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--gold); }
.trust-strip-label { display: block; color: var(--gray-400); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .75rem; line-height: 1.4; }
@media (min-width: 768px) { .trust-strip-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-white { background: var(--white); }
.section-surface { background: var(--gray-50); }
.section-dark { background: var(--dark-800); color: var(--white); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .75rem; }
.section-tag-gold { color: var(--gold-light); }
.section-header h2 { margin-bottom: 1rem; }
.section-desc { color: var(--gray-500); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.section-dark .section-desc { color: var(--gray-400); }

/* ===== Premium Service Cards ===== */
.services-grid-premium { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .services-grid-premium { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid-premium { grid-template-columns: repeat(3, 1fr); } }

.service-card-premium { display: block; background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-200); transition: all .4s var(--ease); color: var(--dark-800); }
.service-card-premium:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--gold-20); color: var(--dark-800); }
.service-card-img { height: 200px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card-premium:hover .service-card-img img { transform: scale(1.08); }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.3), transparent); opacity: 0; transition: opacity .3s; }
.service-card-premium:hover .service-card-overlay { opacity: 1; }
.service-card-body { padding: 1.75rem; }
.service-card-icon { width: 48px; height: 48px; background: var(--gold-10); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: all .3s; }
.service-card-icon svg { stroke: var(--gold); }
.service-card-premium:hover .service-card-icon { background: var(--gold); }
.service-card-premium:hover .service-card-icon svg { stroke: var(--white); }
.service-card-body h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.service-card-body p { color: var(--gray-500); font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.service-card-link { display: inline-flex; align-items: center; gap: .375rem; color: var(--gold); font-weight: 600; font-size: .875rem; }
.service-card-link svg { transition: transform .2s; }
.service-card-premium:hover .service-card-link svg { transform: translateX(4px); }

/* ===== Why Us ===== */
.why-us-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .why-us-grid { grid-template-columns: 1.1fr 1fr; } }
.why-us-text h2 { color: var(--white); margin-bottom: 1.5rem; }
.why-us-text > p { color: var(--gray-400); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2.5rem; }
.why-us-features { display: grid; gap: 1.75rem; }
.why-us-feature { display: flex; gap: 1rem; }
.why-us-icon { width: 48px; height: 48px; background: var(--gold-20); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-us-icon svg { stroke: var(--gold-light); }
.why-us-feature h4 { color: var(--white); margin-bottom: .25rem; font-size: 1.05rem; }
.why-us-feature p { color: var(--gray-400); font-size: .9rem; margin: 0; }
.why-us-img { position: relative; }
.why-us-img img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-2xl); box-shadow: var(--shadow-2xl); }
.why-us-img::after { content: ''; position: absolute; bottom: -1rem; right: -1rem; width: 120px; height: 120px; background: var(--gold-20); border-radius: var(--radius-2xl); z-index: -1; }

/* ===== References ===== */
.references-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .references-logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .references-logos { grid-template-columns: repeat(6, 1fr); } }
.references-logos-full { gap: 1.25rem; }
@media (min-width: 640px) { .references-logos-full { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .references-logos-full { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .references-logos-full { grid-template-columns: repeat(4, 1fr); } }
.ref-logo { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; display: flex; align-items: center; justify-content: center; min-height: 100px; transition: all .3s var(--ease); position: relative; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.ref-logo::before { content: ; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--gold); opacity: 0; transition: opacity .3s var(--ease); }
.ref-logo:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ref-logo:hover::before { opacity: 1; }
.ref-logo-text { text-align: center; font-family: var(--font-display); font-size: .9rem; color: var(--dark); line-height: 1.5; letter-spacing: .01em; font-weight: 600; }
.ref-logo-text .ref-location { display: block; font-size: .78rem; color: var(--gray-500); font-weight: 400; margin-top: .35rem; padding-top: .2rem; letter-spacing: .03em; }

/* ===== Contact Section ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.contact-info .section-tag { text-align: left; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--gray-500); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-items { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius-lg); background: var(--gray-50); border: 1px solid var(--gray-200); transition: all .2s; }
.contact-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-item .contact-icon { width: 44px; height: 44px; background: var(--gold-10); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .contact-icon svg { stroke: var(--gold); }
.contact-item h4 { font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.contact-item p { color: var(--gray-600); font-size: .95rem; line-height: 1.5; }
.contact-item a { color: var(--gray-600); transition: color .2s; }
.contact-item a:hover { color: var(--gold); }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.contact-form h3 { margin-bottom: 1.5rem; }
.contact-item-premium { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); transition: all .2s; color: var(--dark-800); }
a.contact-item-premium:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); color: var(--dark-800); }
.contact-icon-circle { width: 44px; height: 44px; background: var(--gold-10); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon-circle svg { stroke: var(--gold); }
.contact-item-label { display: block; font-size: .8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; }
.contact-item-value { font-weight: 600; font-size: 1rem; }
.contact-form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.contact-form-card h3 { margin-bottom: 1.5rem; }

/* Simple Form (fallback if no CF7) */
.simple-form input, .simple-form textarea { width: 100%; padding: .875rem 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); font-family: var(--font-body); font-size: 1rem; background: var(--gray-50); color: var(--dark); transition: border-color .2s, box-shadow .2s; outline: none; margin-bottom: 1rem; }
.simple-form input:focus, .simple-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-10); }
.simple-form textarea { resize: vertical; min-height: 120px; }
.simple-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .simple-form .form-row { grid-template-columns: 1fr; } }

/* CF7 Overrides */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; padding: .875rem 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); font-family: var(--font-body); font-size: 1rem; background: var(--gray-50); color: var(--dark); transition: border-color .2s, box-shadow .2s; outline: none; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-10); }
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.wpcf7 input[type="submit"] { width: 100%; background: var(--gold); color: var(--white); font-weight: 700; padding: 1rem; border-radius: 999px; border: none; font-size: 1rem; cursor: pointer; transition: all .3s; font-family: var(--font-body); }
.wpcf7 input[type="submit"]:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(207,161,56,.3); }

/* ===== Footer ===== */
.footer-cta { background: var(--gold); padding: 4rem 0; }
.footer-cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
@media (min-width: 768px) { .footer-cta-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5rem; }
.footer-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.05rem; }
.footer-cta .btn-gold { background: var(--dark); color: var(--white); border-color: var(--dark); white-space: nowrap; }
.footer-cta .btn-gold:hover { background: var(--white); color: var(--dark); box-shadow: var(--shadow-xl); }

.footer-main { background: var(--dark); padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand { }
.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { height: 61px; width: auto; }
.footer-desc { color: var(--gray-400); font-size: .9rem; line-height: 1.7; }
.footer-heading { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; padding-left: .75rem; border-left: 3px solid var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .625rem; }
.footer-links a { color: var(--gray-400); font-size: .875rem; transition: all .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-info { display: grid; gap: 1rem; }
.footer-contact-item { display: flex; gap: .75rem; color: var(--gray-400); font-size: .875rem; line-height: 1.5; }
.footer-contact-item svg { stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--gray-400); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom { background: rgba(0,0,0,.2); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { color: var(--gray-500); font-size: .8rem; margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--gray-500); font-size: .8rem; }
.footer-legal a:hover { color: var(--white); }

/* ===== Page Hero ===== */
.page-hero { background: var(--dark); padding: 10rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(135deg, transparent, var(--gold-10)); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; position: relative; }
.page-hero p { color: var(--gray-400); font-size: 1.15rem; max-width: 640px; position: relative; }
.page-hero .breadcrumb { color: var(--gray-500); font-size: .85rem; margin-bottom: 1rem; position: relative; }
.page-hero .breadcrumb a { color: var(--gold); }

/* Page Hero with Image */
.page-hero-img { background: var(--dark); padding: 0; min-height: 50vh; display: flex; align-items: flex-end; position: relative; }
.page-hero-img .hero-bg { position: absolute; inset: 0; }
.page-hero-img .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.65) 50%, rgba(0,0,0,.45) 100%); }
.page-hero-img .container { position: relative; z-index: 10; padding-top: 10rem; padding-bottom: 3rem; }
.page-hero-img h1 { color: var(--white); margin-bottom: .5rem; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.page-hero-img p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; }
.page-hero-img .breadcrumb { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 1rem; }
.page-hero-img .breadcrumb a { color: var(--gold); }
.page-hero-img .breadcrumb a:hover { color: var(--gold-light); }

/* ===== Page Content ===== */
.page-content { padding: 5rem 0; }
.page-content .container { max-width: 900px; }
.page-content h2 { margin: 2.5rem 0 1rem; }
.page-content h3 { margin: 2rem 0 .75rem; }
.page-content p { color: var(--gray-500); line-height: 1.8; }
.page-content ul, .page-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--gray-500); }
.page-content li { margin-bottom: .5rem; line-height: 1.7; }

/* ===== Service Detail ===== */
.service-detail { padding: 5rem 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .service-detail-grid { grid-template-columns: 1fr 340px; } }
.service-detail-main h2 { margin: 2rem 0 1rem; }
.service-detail-main p { color: var(--gray-500); line-height: 1.8; font-size: 1.05rem; }
.service-detail-main ul { list-style: none; margin: 1.5rem 0; }
.service-detail-main li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .75rem; color: var(--gray-500); line-height: 1.6; }
.service-detail-main li svg { stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }
.service-detail-main .detail-img { width: 100%; height: 350px; object-fit: cover; border-radius: var(--radius-xl); margin: 2rem 0; box-shadow: var(--shadow-lg); }

.service-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.sidebar-nav { background: var(--gray-50); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--gray-200); }
.sidebar-nav h3 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold); }
.sidebar-nav ul { list-style: none; }
.sidebar-nav li { margin-bottom: .25rem; }
.sidebar-nav a { display: block; padding: .6rem 1rem; border-radius: var(--radius); color: var(--gray-500); font-weight: 500; font-size: .9rem; transition: all .2s; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--gold); color: var(--white); }
.sidebar-cta { background: linear-gradient(135deg, var(--dark-800), var(--dark)); border-radius: var(--radius-xl); padding: 2rem; text-align: center; }
.sidebar-cta h4 { color: var(--white); margin-bottom: .5rem; }
.sidebar-cta p { color: var(--gray-400); font-size: .9rem; margin-bottom: 1.5rem; }
.sidebar-cta .btn { width: 100%; }

/* ===== Referenzen Page ===== */
.ref-project-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .ref-project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ref-project-grid { grid-template-columns: repeat(3, 1fr); } }
.ref-project-card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-200); transition: all .4s var(--ease); }
.ref-project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.ref-project-img { height: 220px; overflow: hidden; }
.ref-project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-project-card:hover .ref-project-img img { transform: scale(1.05); }
.ref-project-body { padding: 1.5rem; }
.ref-project-tag { display: inline-block; background: var(--gold-10); color: var(--gold-dark); padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.ref-project-body h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.ref-project-body p { color: var(--gray-500); font-size: .875rem; margin: 0; }

/* ===== Leistungen Overview ===== */
.leistungen-hero { background: var(--dark); padding: 10rem 0 4rem; text-align: center; }
.leistungen-hero h1 { color: var(--white); }
.leistungen-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .leistungen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .leistungen-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Google Maps ===== */
.map-container { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 2rem; }
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== Reveal Animations ===== */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal]:nth-child(2) { transition-delay: .1s; }
[data-reveal]:nth-child(3) { transition-delay: .2s; }
[data-reveal]:nth-child(4) { transition-delay: .3s; }
[data-reveal]:nth-child(5) { transition-delay: .4s; }
[data-reveal]:nth-child(6) { transition-delay: .5s; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ===== Mobile Fixes ===== */
@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2rem; }
    .section-desc { font-size: 1rem; }
    .page-hero { padding: 7rem 0 2.5rem; }
    .page-hero-img .container { padding-top: 7rem; padding-bottom: 2rem; }
    .hero { min-height: 90vh; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .trust-strip { padding: 2rem 0; }
    .trust-strip-item { padding: .5rem; }
    .why-us-img img { height: 280px; }
    .why-us-img::after { display: none; }
    .why-us-text > p { margin-bottom: 1.5rem; }
    .contact-grid { gap: 2rem; }
    .contact-form { padding: 1.5rem; }
    .contact-form-card { padding: 1.5rem; }
    .footer-cta { padding: 2.5rem 0; }
    .footer-main { padding: 3rem 0 2rem; }
    .footer-grid { gap: 2rem; }
    .map-container iframe { height: 280px; }
    .service-detail-main .detail-img { height: 220px; }
    .ref-project-img { height: 180px; }
    .nav-logo img { height: 54px; }
}

/* ===== Print ===== */
@media print { .site-nav, .mobile-menu, .hero-scroll, .footer-cta { display: none; } .hero { min-height: auto; } }
