/* ==================================================
   FACHFAKTURA WEBSITE - ERWEITERTE CSS STYLES
   Für alle Seiten: Startseite, Leistungen, Über uns
   WordPress-kompatible Version 
   ================================================== */

/* ===== IMPORT BASE STYLES ===== */
@import url('./fachfaktura-styles.css');

/* ===== NAVIGATION STYLES ===== */
.main-nav {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #007bff;
    color: white;
}

/* ===== PAGE HEADER STYLES ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></g></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SERVICE DETAIL STYLES ===== */
.service-detail {
    padding: 100px 0;
}

.service-detail.alt-bg {
    background: #f8f9fa;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

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

.service-content.reverse .service-text {
    order: 2;
}

.service-content.reverse .service-icon-large {
    order: 1;
}

.service-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-description {
    font-size: 1.2rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: #28a745;
    font-size: 1.2rem;
}

.service-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    margin: 0 auto;
}

.service-icon-large i {
    font-size: 4rem;
    color: white;
}

/* ===== TESTIMONIAL INLINE STYLES ===== */
.testimonial-inline {
    margin-top: 4rem;
}

.testimonial-inline .testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

/* ===== SERVICES GRID PAGE STYLES ===== */
.services-grid-page {
    padding: 100px 0;
}

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

/* ===== COMPANY HISTORY STYLES ===== */
.company-history {
    padding: 100px 0;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.history-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #495057;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-item p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ===== EXPERTISE SECTION STYLES ===== */
.expertise-section {
    padding: 100px 0;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.main-quote {
    font-size: 1.8rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.5;
    border-left: 5px solid #007bff;
    padding-left: 2rem;
    margin: 0;
    font-weight: 300;
}

.subsection-title {
    font-size: 1.4rem;
    color: #495057;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateX(5px);
}

.expertise-item i {
    color: #007bff;
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.expertise-item span {
    color: #495057;
    font-weight: 500;
}

/* ===== LOCATION REACH STYLES ===== */
.location-reach {
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.location-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
}

.location-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.location-icon i {
    font-size: 2.5rem;
    color: white;
}

.location-card h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.location-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.location-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.location-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

.location-features li:last-child {
    border-bottom: none;
}

.location-features li i {
    color: #28a745;
    font-size: 1rem;
}

/* ===== QUALITY STANDARDS STYLES ===== */
.quality-standards {
    padding: 100px 0;
}

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

.quality-item {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.quality-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quality-icon i {
    font-size: 2rem;
    color: white;
}

.quality-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.quality-item p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== TRUST SECTION STYLES ===== */
.trust-section {
    padding: 100px 0;
}

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

/* ===== RESPONSIVE DESIGN FOR NEW ELEMENTS ===== */
@media (max-width: 1024px) {
    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-content.reverse .service-text {
        order: 1;
    }
    
    .service-content.reverse .service-icon-large {
        order: 2;
    }
    
    .history-content,
    .expertise-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none; /* Simplified for mobile - could add hamburger menu */
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    /* Page Header */
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    /* Service Detail */
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-description {
        font-size: 1.1rem;
    }
    
    .service-icon-large {
        width: 150px;
        height: 150px;
    }
    
    .service-icon-large i {
        font-size: 3rem;
    }
    
    /* Company Values */
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    /* Expertise */
    .main-quote {
        font-size: 1.4rem;
        padding-left: 1.5rem;
    }
    
    /* Quality Grid */
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    /* Location Cards */
    .location-card {
        padding: 2rem;
    }
    
    .location-icon {
        width: 80px;
        height: 80px;
    }
    
    .location-icon i {
        font-size: 2rem;
    }
    
    /* Testimonials */
    .testimonial-inline .testimonial-card {
        padding: 2rem;
    }
    
    /* Services Grid */
    .services-grid-page .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .service-detail,
    .company-history,
    .expertise-section,
    .location-reach,
    .quality-standards,
    .trust-section,
    .services-grid-page {
        padding: 60px 0;
    }
    
    .service-icon-large {
        width: 120px;
        height: 120px;
    }
    
    .service-icon-large i {
        font-size: 2.5rem;
    }
    
    .main-quote {
        font-size: 1.2rem;
    }
    
    .testimonial-inline .testimonial-card {
        padding: 1.5rem;
    }
}

/* ===== MOBILE NAVIGATION (Optional Enhancement) ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #007bff;
        cursor: pointer;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-nav,
    .cookie-banner,
    .cookie-manager-btn {
        display: none !important;
    }
    
    .page-header {
        background: none !important;
        color: #000 !important;
    }
    
    .service-icon-large,
    .value-icon,
    .location-icon,
    .quality-icon {
        background: #f8f9fa !important;
    }
    
    .service-icon-large i,
    .value-icon i,
    .location-icon i,
    .quality-icon i {
        color: #000 !important;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .value-item,
    .location-card,
    .quality-item,
    .testimonial-card {
        border: 2px solid #000;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid #000;
    }
}

/* Focus styles for better keyboard navigation */
.nav-menu a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.cookie-btn:focus {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}