/* =============================================================================
   ZKA DENTAL SERVICES - GLOBAL STYLES
   Zahnarzt Köln Altstadt - Dr. Mewes & Dr. Doppelgatz
   Version: 1.0.0
   ============================================================================= */

/* =============================================================================
   SERVICE PAGE LAYOUT
   ============================================================================= */

.zka-service-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.zka-main-content {
    padding: 40px 0;
    background: white;
}

.zka-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.zka-content-main h2 {
    color: #044B9F;
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.zka-content-main h3 {
    color: #044B9F;
    font-size: 1.5rem;
    margin: 35px 0 20px 0;
    line-height: 1.4;
}

.zka-content-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

/* =============================================================================
   HIGHLIGHT BOXES
   ============================================================================= */

.zka-highlight-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    border-left: 4px solid #00ace5;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.zka-highlight-box h3 {
    color: #044B9F;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.zka-highlight-box p {
    margin-bottom: 0;
}

/* =============================================================================
   SERVICES GRID LAYOUT
   ============================================================================= */

.zka-services-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zka-hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.zka-hero-section h1 {
    color: #044B9F;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.zka-hero-section p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.zka-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* =============================================================================
   SERVICE CARDS
   ============================================================================= */

.zka-service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(4, 75, 159, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    transform-origin: center;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* Hintergrundbild mit Fade-Overlay */
.zka-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Fade-Overlay für bessere Lesbarkeit */
.zka-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 2;
    transition: all 0.3s ease;
}

/* Inhalt über dem Hintergrund */
.zka-service-card > * {
    position: relative;
    z-index: 3;
}

/* Hover-Effekt */
.zka-service-card:hover {
    transform: rotate(-2deg) translateY(-8px);
    box-shadow: 0 25px 50px rgba(4, 75, 159, 0.25);
    text-decoration: none;
}

.zka-service-card:hover::before {
    opacity: 0.25;
}

.zka-service-card:hover::after {
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 100%);
}

/* Service Card Icons */
.zka-service-icon {
    font-size: 3rem;
    color: #044B9F;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Pro';
    font-weight: 400;
}

.zka-service-card:hover .zka-service-icon {
    transform: scale(1.1);
    color: #00ace5;
}

/* Service Card Titles */
.zka-service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #044B9F;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

/* Animierte Headline beim Hover */
.zka-service-card:hover .zka-service-title {
    transform: scale(1.05) translateY(-3px);
    color: #00ace5;
    text-shadow: 0 2px 8px rgba(0, 172, 229, 0.3);
    letter-spacing: 0.5px;
}

/* Service Card Descriptions */
.zka-service-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* =============================================================================
   SPEZIFISCHE HINTERGRUNDBILDER
   ============================================================================= */

.zka-service-card.zahnerhalt::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-126.jpg');
}

.zka-service-card.parodontologie::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-127.jpg');
}

.zka-service-card.prophylaxe::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-128.jpg');
}

.zka-service-card.endodontie::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-129.jpg');
}

.zka-service-card.prothetik::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-130.jpg');
}

.zka-service-card.implantologie::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-131.jpg');
}

.zka-service-card.zahnaesthetik::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-132.jpg');
}

.zka-service-card.digitales-roentgen::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-133.jpg');
}

.zka-service-card.funktionsdiagnostik::before {
    background-image: url('https://redesign.zahnaerzte-koeln-altstadt.de/wp-content/uploads/2025/04/Zahnaerzte_koeln_altstadt-134.jpg');
}

/* =============================================================================
   FAQ SECTION
   ============================================================================= */

.zka-faq-section {
    background: white;
    padding: 60px 0;
}

.zka-faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.zka-faq-question {
    background: #044B9F;
    color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.zka-faq-question:hover {
    background: #00ace5;
}

.zka-faq-answer {
    padding: 20px;
    display: none;
}

.zka-faq-answer.active {
    display: block;
}

/* =============================================================================
   LOCATION SECTION
   ============================================================================= */

.zka-location-section {
    background: linear-gradient(135deg, #044B9F 0%, #00ace5 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.zka-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.zka-location-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.zka-location-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* =============================================================================
   CTA BUTTONS
   ============================================================================= */

.zka-cta-button {
    display: inline-block;
    background: rgba(255,255,255,0.9);
    color: #044B9F;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.zka-cta-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #044B9F;
    text-decoration: none;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 1024px) {
    .zka-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .zka-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zka-hero-section h1 {
        font-size: 2rem;
    }
    
    .zka-content-main h2 {
        font-size: 2rem;
    }
    
    .zka-service-card {
        min-height: 220px;
        padding: 25px;
    }
    
    .zka-service-icon {
        font-size: 2.5rem;
    }
    
    .zka-service-title {
        font-size: 1.2rem;
    }
    
    .zka-location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .zka-service-page-container,
    .zka-services-wrapper {
        padding: 0 15px;
    }
    
    .zka-hero-section h1 {
        font-size: 1.8rem;
    }
    
    .zka-hero-section p {
        font-size: 1rem;
    }
    
    .zka-service-card {
        padding: 20px;
        min-height: 200px;
    }
    
    .zka-service-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .zka-service-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .zka-service-description {
        font-size: 0.9rem;
    }
}