/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 86, 179, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 300px;
}

.cookie-content a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept, .btn-reject {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #FFD700;
    color: #0056b3;
}

.btn-accept:hover {
    background: #FFED4E;
}

.btn-reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-reject:hover {
    background: white;
    color: #0056b3;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.brand-text {
    color: #0056b3;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0056b3;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.price-highlight {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.1);
}

.old-price {
    text-decoration: line-through;
    color: #999999;
    font-size: 1.2rem;
    margin-right: 15px;
}

.current-price {
    color: #FF6600;
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 15px;
}

.savings {
    background: #FF6600;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: #FF6600;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    margin: 20px 0;
}

.cta-button:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.cta-button.secondary {
    background: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.cta-button.secondary:hover {
    background: #003d82;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.cta-button.large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

.cta-note {
    font-size: 0.9rem;
    color: #28a745;
    margin-top: 10px;
}

.hero-image {
    text-align: center;
}

.product-hero {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    color: #0056b3;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Product Details Section */
.product-details {
    padding: 80px 0;
    background: #f8f9fa;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.details-images img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.details-content h2 {
    color: #0056b3;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.details-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #666666;
}

.benefits-list {
    list-style: none;
    margin: 30px 0;
}

.benefits-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #333333;
}

.technical-specs {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.technical-specs h3 {
    color: #0056b3;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spec {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: white;
}

.reviews h2 {
    text-align: center;
    color: #0056b3;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.review {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #FF6600;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666666;
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer strong {
    color: #0056b3;
}

.reviewer span {
    font-size: 0.9rem;
    color: #999999;
}

.overall-rating {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0056b3;
}

.rating-count {
    color: #666666;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.delivery-info {
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #333333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: #FFD700;
    margin-bottom: 20px;
}

.footer a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFD700;
}

.footer-contact p {
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid #555555;
    padding-top: 20px;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FF6600;
    padding: 15px;
    z-index: 100;
    display: none;
}

.cta-button.mobile {
    width: 100%;
    margin: 0;
    padding: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    background: #0056b3;
    color: white;
    padding: 20px 30px;
    margin: 0;
    border-radius: 10px 10px 0 0;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px 30px;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.modal-body h3 {
    color: #0056b3;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Impressum Modal Specific Styles */
.impressum-modal .modal-content {
    max-width: 900px;
}

.impressum-body {
    background: #f8f9fa;
}

.impressum-body .last-updated {
    color: #666666;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.impressum-section {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
}

.impressum-section h3 {
    color: #0056b3;
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.impressum-section h4 {
    color: #333333;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

.company-info, .legal-info, .management-info, .contact-info {
    margin-bottom: 20px;
}

.contact-methods {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.contact-methods p {
    margin-bottom: 8px;
}

.contact-methods a {
    color: #0056b3;
    text-decoration: none;
}

.contact-methods a:hover {
    text-decoration: underline;
}

.impressum-section.disclaimer {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.impressum-section.disclaimer h3 {
    color: #856404;
}

.impressum-section.disclaimer p {
    color: #856404;
}

/* Footer Logo Styles */
.footer-brand {
    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-brand-logo {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    margin-bottom: 10px;
}

/* Return Policy Modal Specific Styles */
.return-conditions, .return-process, .hearing-aid-info, .contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #0056b3;
}

.return-conditions h4 {
    color: #0056b3;
    font-size: 1.1rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.return-conditions ul {
    margin-bottom: 20px;
}

.return-conditions li {
    margin-bottom: 8px;
    padding: 5px 0;
}

.return-conditions li:nth-child(odd) {
    color: #28a745;
}

.return-conditions li:nth-child(even) {
    color: #dc3545;
}

.return-process ol {
    padding-left: 20px;
}

.return-process li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.return-process strong {
    color: #0056b3;
}

.hearing-aid-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.hearing-aid-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.hearing-aid-info strong {
    color: #1976d2;
}

.contact-info {
    background: #e8f5e8;
    border-left-color: #4caf50;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #0056b3;
    text-decoration: none;
}

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

.legal-disclaimer {
    background: #fff3cd;
    border-left-color: #ffc107;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.legal-disclaimer p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

.return-policy .modal-content {
    max-width: 850px;
}

.last-updated {
    text-align: center;
    color: #666666;
    font-style: italic;
    margin-top: 30px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-links {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Logo Styles */
    .nav-brand {
        gap: 8px;
    }
    
    .brand-logo {
        height: 28px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    /* Mobile Impressum Modal Styles */
    .impressum-modal .modal-content {
        width: 95%;
        max-width: none;
        margin: 2% auto;
    }
    
    .impressum-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .impressum-section h3 {
        font-size: 1.2rem;
    }
    
    .impressum-section h4 {
        font-size: 1rem;
    }
    
    .footer-brand-logo {
        height: 32px;
    }
    
    /* Mobile Return Policy Modal Styles */
    .return-conditions, .return-process, .hearing-aid-info, .contact-info {
        padding: 15px;
        margin: 15px 0;
    }
    
    .return-conditions ul {
        padding-left: 15px;
    }
    
    .return-process ol {
        padding-left: 15px;
    }
    
    .return-policy .modal-content {
        width: 95%;
        max-width: none;
        margin: 2% auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .price-highlight {
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .features h2, .reviews h2, .final-cta h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .cookie-banner, .mobile-sticky-cta, .modal {
        display: none !important;
    }
    
    .hero {
        padding-top: 40px;
    }
}