/* Bleaching Page Specific Styles */

/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
}

.full-size {
    overflow-x: hidden;
}

/* Bleaching Image Container */
.bleaching-image-container {
    text-align: center;
    margin: 2rem auto;
    max-width: 100%;
    overflow: hidden;
}

/* Bleaching Images */
.bleaching-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
}

/* Hover effect removed - images are not interactive */

/* Tablet styles */
@media (max-width: 768px) {
    .bleaching-image-container {
        margin: 1.5rem auto;
    }
    
    .bleaching-image {
        max-width: 100%;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .bleaching-image-container {
        margin: 1rem auto;
    }
    
    .bleaching-image {
        max-width: 100%;
        border-radius: 8px;
    }
}

/* Small mobile styles */
@media (max-width: 360px) {
    .bleaching-image-container {
        margin: 1rem auto;
    }
    
    .bleaching-image {
        max-width: 100%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
}

/* Fix für mobile Grid und Card Überlappungen */
@media (max-width: 768px) {
    /* Grid-2 untereinander auf Mobile */
    .comparison-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    /* Grid-3 untereinander auf Mobile */
    .comparison-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    /* Card Überlappungen beheben */
    .comparison-card {
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Card Content Spacing */
    .comparison-card-content {
        padding: 0.5rem 0 !important;
    }
    
    /* Reimbursement Display anpassen */
    .comparison-reimbursement-display {
        padding: 1rem !important;
        margin: 0.5rem 0 !important;
    }
    
    .comparison-reimbursement-amount {
        font-size: 1.5rem !important;
    }
    
    /* Benefits List anpassen */
    .comparison-benefits-list {
        margin: 0.5rem 0 !important;
    }
    
    .comparison-benefits-list li {
        padding: 0.4rem 0 0.4rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Card Action Button */
    .comparison-card-action-button {
        margin: 15px auto 5px auto !important;
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
    }
}

/* Noch kleinere Screens */
@media (max-width: 480px) {
    .comparison-card {
        padding: 1rem !important;
    }
    
    .comparison-card-title {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .comparison-reimbursement-label {
        font-size: 0.75rem !important;
    }
    
    .comparison-benefits-list li {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* Ensure tables don't cause horizontal scroll */
.comparison-table-wrapper {
    overflow-x: auto;
    max-width: 100%;
}

.comparison-table {
    min-width: 600px;
}

/* Ensure all containers respect viewport width */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix any potential grid overflow issues */
.comparison-grid-2,
.comparison-grid-3,
.comparison-card {
    max-width: 100%;
    box-sizing: border-box;
}

/* Gut zu wissen - Info boxes with glassmorphism effect */
.comparison-gut-zu-wissen {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.comparison-gut-zu-wissen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(254, 243, 199, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 6s infinite;
}

.comparison-gut-zu-wissen h3,
.comparison-gut-zu-wissen h4 {
    color: #92400e;
    font-size: 1.2rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.comparison-gut-zu-wissen p {
    margin: 0;
    line-height: 1.6;
    color: #78350f;
}

/* Comparison section blocks */
.comparison-section-block {
    margin: 3rem 0;
    padding: 0;
}

/* Spartipp specific styling */
.comparison-spartipp {
    background: linear-gradient(120deg, #f0fdf4 0%, #dcfce7 100%);
    border-left-color: #16a34a;
}

/* Warning/Alert styling - less aggressive */
.comparison-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #92400e;
}

.comparison-warning strong {
    color: #92400e;
}

/* Creative Image Integration Styles */
/* 
Usage Examples:

1. Image with side text:
<div class="bleaching-image-with-text">
    <div class="image-wrapper">
        <img src="..." alt="..." class="bleaching-image">
    </div>
    <div class="text-content">
        <h3>Professionelles Bleaching</h3>
        <p>Ihre Vorteile auf einen Blick...</p>
    </div>
</div>

2. Floating image with caption:
<div class="bleaching-image-floating">
    <div class="image-wrapper">
        <img src="..." alt="..." class="bleaching-image">
        <div class="image-caption">
            <h4>Strahlendes Lächeln</h4>
            <p>In nur 90 Minuten zu weißeren Zähnen</p>
        </div>
    </div>
</div>

3. Decorative frame:
<div class="bleaching-image-decorated">
    <div class="image-wrapper">
        <img src="..." alt="..." class="bleaching-image">
    </div>
</div>
*/

/* Style 1: Image with side text */
.bleaching-image-with-text {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.bleaching-image-with-text.reverse {
    flex-direction: row-reverse;
}

.bleaching-image-with-text .image-wrapper {
    flex: 0 0 250px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.bleaching-image-with-text .bleaching-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Shimmer effect removed for cleaner appearance */

/* Animation removed */

.bleaching-image-with-text .text-content {
    flex: 1;
    padding: 0;
}

.bleaching-image-with-text .text-content h3 {
    color: #1a365d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
}

.bleaching-image-with-text .text-content h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #24b2a5 0%, #48c2b7 100%);
    border-radius: 2px;
}

/* Style 2: Floating image with caption */
.bleaching-image-floating {
    position: relative;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.bleaching-image-floating .image-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

/* Hover effect removed - images are not interactive */

.bleaching-image-floating .image-caption {
    background: rgba(255, 255, 255, 0.95);
    color: #1a365d;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    margin-top: -4px;
}


/* Style 3: Grid gallery */
.bleaching-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.bleaching-image-grid .grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Hover effect removed - grid items are not interactive */

/* Style 4: Decorative frame */
.bleaching-image-decorated {
    position: relative;
    margin: 2rem auto;
    max-width: 600px;
    padding: 1rem;
}

.bleaching-image-decorated::before,
.bleaching-image-decorated::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(36, 178, 165, 0.3);
}

.bleaching-image-decorated::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: 16px 0 0 0;
}

.bleaching-image-decorated::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 16px 0;
}

.bleaching-image-decorated .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bleaching-image-with-text {
        flex-direction: column !important;
        gap: 2rem;
    }
    
    .bleaching-image-with-text .text-content {
        padding: 1rem;
        text-align: center;
    }
    
    .bleaching-image-with-text .text-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .bleaching-image-floating {
        max-width: 95%;
    }
    
    .bleaching-image-decorated {
        max-width: 90%;
        padding: 1rem;
    }
    
    .bleaching-image-decorated::before,
    .bleaching-image-decorated::after {
        width: 50px;
        height: 50px;
    }
    
    .comparison-gut-zu-wissen {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .comparison-gut-zu-wissen h3,
    .comparison-gut-zu-wissen h4 {
        font-size: 1.1rem;
    }
}

/* Hide reimbursement badges */
.comparison-reimbursement-badge {
    display: none !important;
}

/* Comparison card action button styling with turquoise color */
.comparison-card-action-button {
    background: #24b2a5;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.comparison-card-action-button:hover {
    background: #1a9b8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(36, 178, 165, 0.2);
    color: white;
    text-decoration: none;
}

/* Remove border-left from comparison-highlight-text */
.comparison-highlight-text {
    border-left: none !important;
}

/* Table action buttons with turquoise color */
.comparison-table-action {
    background: #24b2a5;
    color: white !important;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    margin-left: 10px;
}

.comparison-table-action:hover {
    background: #1a9b8f;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(36, 178, 165, 0.15);
    color: white !important;
    text-decoration: none;
}

/* Desktop: Erste 48 Stunden Box - Icon über Headline, mittig zentriert */
@media (min-width: 768px) {
    .first-48h-header {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .first-48h-header h4 {
        text-align: center !important;
    }
}

/* Fix table alignment */
.comparison-table {
    table-layout: fixed;
}

.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) {
    width: 35%;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    width: 25%;
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
    width: 20%;
}

.comparison-table th:nth-child(4),
.comparison-table td:nth-child(4) {
    width: 20%;
}

.comparison-table td {
    vertical-align: middle;
}

.comparison-table-price-action {
    text-align: right;
    white-space: normal;
}

.comparison-table-price {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
