/* Services Section */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

.services {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    will-change: transform;
    
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;  ← NEU! Verhindert Layout-Shifts
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Why Section */
.why-section {
    padding: 6rem 2rem;
    background: white;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.why-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-text {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Process Section */
.process {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.process-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    gap: 2rem;
}

.process-step {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Emergency Section */
.emergency {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #cc5429 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    pointer-events: none;
}

.emergency::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    will-change: transform;
    pointer-events: none;
}

.emergency-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.emergency-content-center {
    text-align: center;
}

.emergency-badge-small {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease-out;
}

.emergency-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.emergency-icon {
    font-size: 5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: emergencyPulse 2s ease-in-out infinite;
}

.emergency-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

.emergency-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.1;
    animation: slideInLeft 0.8s ease-out 0.4s backwards;
}

.emergency-title-highlight {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.emergency-text {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInLeft 0.8s ease-out 0.6s backwards;
}

.emergency-features-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInLeft 0.8s ease-out 0.8s backwards;
}

.emergency-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.emergency-feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.emergency-feature-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.emergency-feature-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.emergency-cta-wrapper {
    animation: slideInLeft 0.8s ease-out 1s backwards;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: var(--accent-orange);
    padding: 1.8rem 3.5rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 2.5rem;
    font-family: 'Bebas Neue', sans-serif;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.emergency-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.emergency-phone:hover::before {
    left: 100%;
}

.emergency-phone:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.emergency-phone-icon {
    font-size: 2.5rem;
    animation: phoneRing 1s ease-in-out infinite;
}

/* SEO Content Section */
.seo-content {
    padding: 6rem 2rem;
    background: white;
}

.seo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.seo-text-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.seo-text-block {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.seo-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.seo-paragraph {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.seo-paragraph:last-child {
    margin-bottom: 0;
}

.seo-paragraph strong {
    color: var(--text-dark);
    font-weight: 600;
}

.seo-highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.seo-highlight-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.seo-highlight-content {
    flex: 1;
}

.seo-highlight-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.seo-highlight-text {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.seo-highlight-text:last-child {
    margin-bottom: 0;
}

.seo-highlight-text strong {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.seo-cta-box {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
    border: 2px solid var(--primary-color);
}

.seo-cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.seo-cta-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.seo-cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.seo-cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: white;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.faq-icon {
    font-size: 2rem;
    min-width: 40px;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-answer {
    padding: 2rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.faq-answer strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 2rem;
    background: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-text strong {
    color: var(--text-dark);
    font-weight: 600;
    font-style: normal;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 132, 197, 0.2);
}

.testimonial-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.trust-icon {
    font-size: 1.5rem;
    background: white;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

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

/* Contact Section continued */

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
}

/* Form Messages */
#formSuccess, #formError {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 132, 197, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    margin-top: 0.3rem;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Sticky Mobile Phone Button */
.sticky-phone-button {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0084c5 0%, #006699 100%);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 132, 197, 0.4);
    z-index: 999;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: phoneFloat 3s ease-in-out infinite;
}

.sticky-phone-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 132, 197, 0.5);
}

.sticky-phone-button .phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: phoneRing 1s ease-in-out infinite;
}

.sticky-phone-button .phone-icon svg {
    width: 32px;
    height: 32px;
    fill: white;  /* ← WEISS! */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sticky-phone-button .phone-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 132, 197, 0.4);
    animation: phonePulse 2s ease-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes phonePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Confirmation Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Legal Popup Specific Styles */
.popup-content-legal {
    max-width: 800px;
    padding: 0;
}

.legal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.legal-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.legal-tab {
    flex: 1;
    padding: 1.2rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Work Sans', sans-serif;
}

.legal-tab:hover {
    color: var(--primary-color);
    background: rgba(0, 132, 197, 0.05);
}

.legal-tab.active {
    color: var(--primary-color);
}

.legal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.legal-tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.legal-tab-content.active {
    display: block;
}

.legal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.legal-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.legal-section {
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legal-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.popup-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.popup-message {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.popup-contact-info {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.popup-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
}

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

.popup-btn-confirm:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.popup-btn-cancel {
    background: #e0e0e0;
    color: var(--text-dark);
}

.popup-btn-cancel:hover {
    background: #d0d0d0;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f0f0f0;
    color: var(--text-dark);
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes emergencyPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for remaining sections */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .emergency-title {
        font-size: 3.5rem;
    }

    .emergency-features-center {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .seo-text-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .seo-highlight-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem;
    }

    .seo-highlight-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    /* Hide phone button in header on mobile */
    .phone-btn {
        display: none !important;
    }

    /* Show sticky phone button ONLY on mobile */
    .sticky-phone-button {
        display: flex !important;
    }

    /* Reduce emergency section pseudo-elements on mobile */
    .emergency::before {
        width: 300px;
        height: 300px;
        right: -20%;
    }

    .emergency::after {
        width: 250px;
        height: 250px;
        left: -20%;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

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

    .emergency-title {
        font-size: 2.8rem;
    }

    .emergency-icon {
        font-size: 4rem;
    }

    .emergency-phone {
        font-size: 1.8rem;
        padding: 1.3rem 2.5rem;
    }

    .emergency-phone-icon {
        font-size: 2rem;
    }

    .emergency-features-center {
        grid-template-columns: 1fr;
    }

    .emergency-feature-item:hover {
        transform: translateY(-3px);
    }

    .seo-text-block {
        padding: 2rem;
    }

    .seo-subtitle {
        font-size: 1.5rem;
    }

    .seo-paragraph {
        font-size: 1rem;
    }

    .seo-highlight-box {
        padding: 2rem;
    }

    .seo-highlight-icon {
        font-size: 3rem;
    }

    .seo-highlight-title {
        font-size: 1.8rem;
    }

    .seo-cta-box {
        padding: 2rem;
    }

    .seo-cta-title {
        font-size: 2rem;
    }

    .seo-cta-text {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer {
        padding: 1.5rem;
    }

    .faq-icon {
        font-size: 1.5rem;
    }

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

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-trust {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .contact-form {
        padding: 2rem;
    }

    .popup-content {
        padding: 2rem;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .popup-title {
        font-size: 1.6rem;
    }

    .popup-contact-info {
        font-size: 1.2rem;
    }

    /* Legal Popup Mobile */
    .legal-tabs {
        flex-direction: column;
    }

    .legal-tab {
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
    }

    .legal-tab.active::after {
        bottom: 0;
        height: 100%;
        width: 4px;
        left: 0;
        right: auto;
    }

    .legal-tab-content {
        padding: 1.5rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-subtitle {
        font-size: 1.1rem;
    }
}
