/* CRM & Datenmanagement Spezifische Styles */

/* Product Hero Section */
.product-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 4rem 5%;
}

.product-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.product-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.95;
}

.product-hero .tagline {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.85;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

/* Intro Section */
.intro-section {
    padding: 4rem 2rem;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2c2c2c;
    text-align: center;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Section Styling */
.section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Product Cards & Feature Grids */
.product-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #2c2c2c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Link Buttons */
a[style*="background: #2c2c2c"]:hover,
a[style*="background: white"]:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-legal {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2.5rem;
    }

    .product-hero .subtitle {
        font-size: 1.2rem;
    }

    .intro-content h2,
    .section-title {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    /* Stack grid layouts on mobile - Bilder immer zuerst! */
    div[style*="grid-template-columns: 1fr 2fr"],
    div[style*="grid-template-columns: 2fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Für Layouts mit Bild links (1fr 2fr): Bild bleibt oben */
    div[style*="grid-template-columns: 1fr 2fr"] > div:first-child {
        order: 1;
    }

    div[style*="grid-template-columns: 1fr 2fr"] > div:last-child {
        order: 2;
    }

    /* Für Layouts mit Text links (2fr 1fr): Bild nach oben verschieben */
    div[style*="grid-template-columns: 2fr 1fr"] > div:first-child {
        order: 2;
    }

    div[style*="grid-template-columns: 2fr 1fr"] > div:last-child {
        order: 1;
    }

    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* SVG-Container anpassen */
    div[style*="background: #f8f9fa"] {
        padding: 1.5rem !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .product-hero,
    footer,
    a[style*="background"] {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}