/* ==================================================
   FACHFAKTURA WEBSITE - COMPLETE CSS STYLES
   WordPress-kompatible Version 
   ================================================== */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Oxygen', Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-section {
    background: #f8f9fa;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

.experience-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.experience-text .section-subtitle {
    text-align: left;
    font-style: italic;
    font-size: 1.3rem;
    color: #495057;
    margin-bottom: 0;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-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;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: #28a745;
    font-size: 1rem;
}

/* ===== LOCATION SECTION ===== */
.location-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.location-section .section-title,
.location-section .section-subtitle {
    color: white;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.location-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.location-icon i {
    font-size: 2rem;
    color: #ffd700;
}

.location-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.location-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-home {
    background: #f8f9fa;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.testimonial-single {
    display: none;
    padding: 3rem;
}

.testimonial-single.active {
    display: block;
}

.testimonial-card-carousel {
    text-align: center;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-info {
    text-align: left;
}

.company-name {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.company-industry {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.company-year {
    display: block;
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-highlight {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #495057;
    font-style: italic;
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
    padding-left: 1.5rem;
}

.testimonial-footer {
    display: flex;
    justify-content: center;
}

.software-badge {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.software-label {
    color: #6c757d;
}

.software-name {
    color: #007bff;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 123, 255, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: #007bff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.autoplay-indicator {
    height: 4px;
    background: #e9ecef;
    position: relative;
    overflow: hidden;
}

.autoplay-progress {
    height: 100%;
    background: #007bff;
    width: 0;
    transition: width 5s linear;
}

.autoplay-progress.active {
    width: 100%;
}

.testimonials-cta {
    text-align: center;
}

.testimonials-cta-text {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 2rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cookie-banner-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cookie-banner-description {
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-banner-legal {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.cookie-btn:hover {
    background: #f8f9fa;
}

.cookie-btn-accept:hover {
    background: #0056b3;
}

.cookie-banner-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

.cookie-banner-links a {
    color: #007bff;
    text-decoration: none;
}

.cookie-banner-links a:hover {
    text-decoration: underline;
}

.cookie-manager-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1001;
    display: none;
}

.cookie-manager-btn:hover {
    transform: scale(1.1);
    background: #0056b3;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .company-info {
        text-align: center;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-banner-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-single {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
