/* ========================================
   Schimmelbekämpfung - Corporate Design
   Mobile-first, optimized for Google Ads
   ======================================== */

/* === CSS Variables === */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #10b981;
    --error: #ef4444;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === Typography === */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.25rem); }

strong {
    font-weight: 600;
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius);
}

.header-title .company-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.header-title .company-tagline {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    transition: var(--transition);
}

.header-phone-link:hover {
    background: var(--primary-dark);
}

.header-phone-icon {
    width: 24px;
    height: 24px;
}

.header-phone-icon svg {
    width: 100%;
    height: 100%;
}

.header-phone-number {
    font-weight: 600;
    font-size: 0.9rem;
}

.header-phone-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.desktop-only {
    display: none;
}

/* === Hero Section === */
.hero-section {
    display: flex;
    flex-direction: column;
}

.hero-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.05);
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.badge-logo {
    width: 22px;
    height: 22px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-logo svg {
    width: 14px;
    height: 14px;
}

.badge-provider {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-rating {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.badge-stars {
    color: #facc15;
    font-size: 1rem;
    letter-spacing: 1px;
}

.badge-reviews {
    font-size: 0.7rem;
    color: var(--text-gray);
}

.hero-content-wrapper {
    padding: 1.5rem 1rem;
}

.hero-title {
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.title-sub {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.hero-description {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    background: var(--bg-light);
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
}

.trust-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* === Contact Form === */
.contact-form-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-field {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-white);
    transition: var(--transition);
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-light);
}

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

.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-arrow {
    font-size: 1.25rem;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* === Section Common Styles === */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

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

.section-title {
    margin-bottom: 0.75rem;
}

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

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.cta-arrow {
    font-size: 1.25rem;
}

/* === Services Section === */
.services-section {
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

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

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 1.25rem;
}

.service-title {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.service-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.service-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    font-size: 0.75rem;
}

/* === Benefits Section === */
.benefits-section {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    gap: 1rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* === Process Section === */
.process-section {
    background: var(--bg-white);
}

.process-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.process-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    flex: 1;
}

.step-title {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-description {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* === Reviews Section === */
.reviews-section {
    background: var(--bg-light);
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.review-service {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.review-stars {
    color: #facc15;
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.reviews-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* === FAQ Section === */
.faq-section {
    background: var(--bg-white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--border);
}

.question-text {
    flex: 1;
    padding-right: 1rem;
}

.question-arrow {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.question-arrow svg {
    width: 100%;
    height: 100%;
}

.faq-item.active .question-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-cta-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.faq-cta-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.faq-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.faq-cta h3 {
    margin-bottom: 0.5rem;
}

.faq-cta p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* === Footer === */
.footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 1rem 2rem;
}

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

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    /* Mobile: stacked */
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-contact {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-contact strong {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* === Floating Call Button === */
.floating-call-btn {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    height: 60px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
    z-index: 99;
    transition: var(--transition);
}

.floating-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

.call-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.call-icon svg {
    width: 100%;
    height: 100%;
}

.call-number {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.call-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: var(--success);
    animation: pulse 2s infinite;
    z-index: -1;
}

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

/* === Form States === */
.form-field input.form-error,
.form-field select.form-error,
.form-field textarea.form-error {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* === Loading Animation === */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ========================================
   Responsive Design (min-width)
   ======================================== */

/* Tablet */
@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .reviews-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .review-card {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

/* Desktop */
@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }

    .hero-section {
        flex-direction: row-reverse;
        min-height: 80vh;
    }

    .hero-image-wrapper {
        flex: 1;
        height: auto;
        min-height: 500px;
    }

    .hero-content-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 2rem;
    }

    .hero-content {
        max-width: 500px;
    }

    .trust-points {
        gap: 1rem;
    }

    .section-container {
        padding: 4rem 2rem;
    }

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

    .process-content {
        flex-direction: row;
        align-items: center;
    }

    .process-image {
        flex: 0 0 40%;
    }

    .process-image img {
        height: 400px;
    }

    .process-steps {
        flex: 1;
        gap: 1.5rem;
    }

    .process-step {
        flex-direction: row;
        text-align: left;
    }

    .step-number {
        margin: 0;
    }

    .reviews-grid {
        flex-wrap: nowrap;
    }

    .review-card {
        flex: 1;
    }

    .faq-cta-wrapper {
        flex-direction: row;
        align-items: stretch;
    }

    .faq-cta-image {
        flex: 0 0 40%;
    }

    .faq-cta-image img {
        height: 100%;
        min-height: 250px;
    }

    .faq-cta {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

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

    .floating-call-btn {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .hero-content-wrapper {
        padding: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-container {
        padding: 5rem 2rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border: #000;
    }

    .service-card,
    .benefit-card,
    .review-card {
        border-width: 2px;
    }
}
