/*
Theme Name: TGX Fax
Theme URI: https://tgx-fax.de
Author: TGX Team
Author URI: https://tgx-fax.de
Description: Modernes WordPress-Theme für den TGX Faxdienst mit professionellem Design
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tgx-fax
Tags: business, one-column, custom-menu, featured-images, flexible-header, responsive-layout
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header & Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
}

.logo-box {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #2563eb;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    color: #4b5563;
}

.btn-secondary:hover {
    color: #2563eb;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1f2937;
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-top: 1px solid #e5e7eb;
        flex-direction: column;
        gap: 0;
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #f3f4f6;
        padding: 15px 0;
    }

    .header-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #4f46e5 100%);
    color: white;
    padding: 80px 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: #bfdbfe;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-hero-primary {
    background: white;
    color: #2563eb;
    padding: 16px 32px;
    font-size: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary {
    border: 2px solid white;
    color: white;
    padding: 16px 32px;
    background: transparent;
}

.btn-hero-secondary:hover {
    background: white;
    color: #2563eb;
}

.hero-features {
    display: flex;
    gap: 24px;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-visual {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.visual-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.visual-item:last-child {
    margin-bottom: 0;
}

.visual-icon {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-visual {
        display: none;
    }
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    color: #2563eb;
    margin-bottom: 16px;
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 80px 20px;
    background: #2563eb;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-item p {
    color: #bfdbfe;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 20px;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
    transform: scale(1.05);
    border: 4px solid #60a5fa;
    box-shadow: 0 20px 25px rgba(37, 99, 235, 0.3);
}

.pricing-badge {
    background: #fbbf24;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 16px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.pricing-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.price-period {
    font-size: 0.875rem;
    color: #6b7280;
}

.pricing-card.featured .price-period {
    color: #bfdbfe;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card.featured .btn {
    background: white;
    color: #2563eb;
}

.pricing-card.featured .btn:hover {
    background: #f3f4f6;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    background: #dbeafe;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    color: #2563eb;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    margin-bottom: 8px;
}

.contact-item a {
    color: #2563eb;
    font-weight: 600;
}

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

/* Contact Form */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #1f2937;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    padding: 64px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 32px;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 48px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 32px;
}

.footer-column h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Page Content */
.page-content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #1f2937;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 40px 0 20px;
    color: #1f2937;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4b5563;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-8 {
    margin-top: 32px;
}

/* WordPress Specific */
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 8px;
}