/* ===== Logo ===== */
.site-logo {
    display: block;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-logo-header {
    width: 220px;
    height: 48px;
}

.site-logo-footer {
    width: 200px;
    height: 44px;
    opacity: 0.95;
}

a.group:hover .site-logo {
    transform: scale(1.03);
}

#site-header.scrolled .site-logo-header {
    height: 42px;
    width: 200px;
}

@media (max-width: 640px) {
    .site-logo-header {
        width: 180px;
        height: 40px;
    }
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }

/* ===== Typography ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d9488;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.45);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #0f766e;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #14b8a6;
    color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ===== Header ===== */
#site-header .nav-inner {
    background: transparent;
}

#site-header.scrolled .nav-inner {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

#site-header.scrolled .top-bar {
    display: none;
}

#site-header.scrolled .mobile-top-bar {
    display: none;
}

.header-spacer {
    height: 112px;
}

@media (min-width: 1024px) {
    .header-spacer {
        height: 104px;
    }
}

#site-header:not(.scrolled) + .header-spacer {
    height: 0;
    position: absolute;
}

#site-header:not(.scrolled) {
    position: absolute;
}

#site-header.scrolled + .header-spacer {
    height: 64px;
}

@media (min-width: 1024px) {
    #site-header.scrolled + .header-spacer {
        height: 72px;
    }
}

.mobile-nav-link {
    display: block;
    padding: 0.875rem 0.75rem;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    min-height: 44px;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-panel.is-open {
    display: block;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .mobile-cta-bar {
    display: none;
}

/* ===== Hero Slider ===== */
.hero-slider { margin-top: -112px; padding-top: 112px; }

@media (min-width: 1024px) {
    .hero-slider { margin-top: -104px; padding-top: 104px; }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hero-slides { position: relative; }

.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314b8a6' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-slide.active .animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.hero-slide.active .delay-1 { animation-delay: 0.15s; opacity: 0; }
.hero-slide.active .delay-2 { animation-delay: 0.3s; opacity: 0; }
.hero-slide.active .delay-3 { animation-delay: 0.45s; opacity: 0; }

.hero-slide-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Service Cards ===== */
.service-card {
    display: block;
    transition: transform 0.4s ease;
}

.service-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card-with-image .service-card-body {
    padding: 1.75rem;
}

.service-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 55%);
}

.service-card-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card:hover .service-card-inner {
    border-color: #99f6e4;
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.15);
}

/* ===== Process Steps ===== */
.process-step {
    position: relative;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: #fff;
    border-color: #99f6e4;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.process-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

/* ===== Benefit Cards ===== */
.benefit-card {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: #99f6e4;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: #ccfbf1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    shrink: 0;
}

/* ===== References ===== */
.reference-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.reference-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.reference-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.reference-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0d9488;
}

.reference-since {
    font-size: 0.75rem;
    color: #94a3b8;
}

.reference-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #64748b;
}

/* ===== About Image ===== */
.about-image-wrap {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.team-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: #99f6e4;
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.12);
}

.team-card-featured {
    border-color: #ccfbf1;
}

.team-card-image-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f1f5f9;
}

.team-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-body {
    padding: 1.5rem;
}

.team-card-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0d9488;
    margin-bottom: 0.875rem;
}

.team-card-bio {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 1rem;
}

.team-card-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-card-link:hover {
    color: #0d9488;
}

/* ===== Values ===== */
.value-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.08);
}

.value-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-card-title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.value-card-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

/* ===== About Gallery ===== */
.about-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.about-gallery-item {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    margin: 0;
    background: #f1f5f9;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.about-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.04);
}

.about-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.125rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent);
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== Service Detail ===== */
.service-detail-image {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* ===== Contact ===== */
.contact-info-card {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: #99f6e4;
    background: #f0fdfa;
}

.contact-form-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 150ms; }
.reveal.delay-2 { transition-delay: 300ms; }
.reveal.delay-3 { transition-delay: 450ms; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314b8a6' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.page-hero > .max-w-7xl {
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: #94a3b8;
    font-size: 1.125rem;
    position: relative;
}

.page-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.page-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(19, 78, 74, 0.88) 100%);
}

/* ===== Prose ===== */
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: #0f172a; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #1e293b; }
.prose p { margin-bottom: 1rem; line-height: 1.75; color: #475569; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; color: #475569; }

.prose-service h2 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.prose-service h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f766e;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.prose-service p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}

.prose-service ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.25rem;
}

.prose-service li {
    margin-bottom: 0.625rem;
    line-height: 1.6;
}

.service-lead {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border-left: 4px solid #14b8a6;
    border-radius: 0 1rem 1rem 0;
}

.service-card-teaser {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

details summary::-webkit-details-marker { display: none; }

/* ===== Mobile CTA Bar ===== */
.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

.mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-cta-btn:active {
    transform: scale(0.98);
}

.mobile-cta-call {
    margin-right: 0.375rem;
    background: #fff;
    color: #0f766e;
    border: 2px solid #99f6e4;
}

.mobile-cta-offer {
    margin-left: 0.375rem;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
}

.has-mobile-cta .main-content {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
    .has-mobile-cta .main-content {
        padding-bottom: 0;
    }
}

/* ===== Quote Calculator ===== */
.quote-calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .quote-calculator-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
        gap: 2rem;
    }
}

.quote-steps {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.quote-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
}

.quote-step span {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.quote-step.is-active {
    border-color: #99f6e4;
    color: #0f766e;
    background: #f0fdfa;
}

.quote-step.is-active span {
    background: #14b8a6;
    color: #fff;
}

.quote-step.is-done {
    color: #0d9488;
}

.quote-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .quote-panel {
        padding: 1.75rem;
    }
}

.quote-panel-head {
    margin-bottom: 1.25rem;
}

.quote-panel-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.quote-panel-sub {
    font-size: 0.9375rem;
    color: #64748b;
}

.quote-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .quote-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .quote-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.quote-service-card {
    cursor: pointer;
}

.quote-service-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quote-service-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quote-service-card input:checked + .quote-service-card-inner,
.quote-service-card-inner:hover {
    border-color: #14b8a6;
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.12);
}

.quote-service-card input:checked + .quote-service-card-inner {
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.quote-service-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #f0fdfa;
    color: #0d9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.quote-service-label {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0f172a;
}

.quote-service-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
}

.quote-area-block {
    margin-bottom: 1.25rem;
}

.quote-area-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.quote-area-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-area-input {
    width: 5.5rem;
    text-align: right;
    font-weight: 700;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.quote-area-unit {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
}

.quote-area-slider {
    width: 100%;
    accent-color: #0d9488;
    height: 0.5rem;
}

.quote-area-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.quote-fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .quote-fields-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.quote-trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .quote-trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.quote-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
}

.quote-result-card {
    position: sticky;
    top: 6.5rem;
}

.quote-result-inner {
    background: linear-gradient(160deg, #0f172a 0%, #134e4a 100%);
    color: #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
    .quote-result-inner {
        padding: 1.75rem;
    }
}

.quote-result-badge {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.18);
    color: #99f6e4;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.quote-result-service {
    font-size: 0.9375rem;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
}

.quote-price-main {
    margin-bottom: 1rem;
}

.quote-price-label {
    display: block;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.quote-price-range {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.quote-price-secondary {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

.quote-price-sub {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5eead4;
}

.quote-price-gross {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.quote-breakdown {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
}

.quote-breakdown li span {
    color: #94a3b8;
}

.quote-breakdown li strong {
    color: #e2e8f0;
    font-weight: 600;
}

.quote-disclaimer {
    font-size: 0.75rem;
    line-height: 1.55;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.quote-result-cta {
    background: #14b8a6;
}

.quote-result-cta:hover {
    background: #0d9488;
}

.quote-result-loading,
.quote-result-error {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.quote-result-error {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.quote-result-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #99f6e4;
}

.quote-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(153, 246, 228, 0.25);
    border-top-color: #99f6e4;
    border-radius: 999px;
    animation: quote-spin 0.8s linear infinite;
}

@keyframes quote-spin {
    to { transform: rotate(360deg); }
}

.quote-form-summary {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: #115e59;
    line-height: 1.5;
}

.quote-request-section .contact-form-card {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.quote-calculator .quote-hidden {
    display: none;
}

.quote-calculator .quote-dimmed {
    opacity: 0.5;
}

/* ===== Smartphone Optimierung ===== */
@media (max-width: 1023px) {
    .section-title {
        font-size: clamp(1.625rem, 7vw, 2.25rem);
    }

    .page-hero {
        padding: 5.5rem 0 2.5rem;
        scroll-margin-top: 5rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .page-hero-image::before {
        opacity: 0.25;
    }

    .contact-form-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .service-card-with-image .service-card-body {
        padding: 1.25rem;
    }

    .process-step,
    .benefit-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote-icon {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }

    .about-image-badge {
        bottom: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
    }

    .reference-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-dot {
        min-width: 12px;
        min-height: 12px;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary {
        min-height: 48px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .form-input,
    .form-input select,
    select.form-input,
    textarea.form-input {
        font-size: 16px;
        min-height: 48px;
    }

    textarea.form-input {
        min-height: 120px;
    }

    .quote-result-card {
        position: static;
    }

    .quote-service-grid {
        grid-template-columns: 1fr;
    }

    .quote-fields-grid {
        grid-template-columns: 1fr;
    }

    .quote-area-input {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .site-logo-header {
        width: 155px;
        height: 36px;
    }

    #site-header.scrolled .site-logo-header {
        width: 145px;
        height: 34px;
    }

    .site-logo-footer {
        width: 170px;
        height: 38px;
    }

    .mobile-top-bar a {
        font-size: 0.6875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-slide { transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; }
}
