/* Reset and 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: #374151;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: #1f2937;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    line-height: 1.5;
    margin-bottom: 1rem;
}

a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo {
    flex-shrink: 0;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone {
    font-weight: 500;
    color: #1e3a8a;
}

.back-link {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link:hover {
    background-color: #e5e7eb;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

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

.hero-placeholder {
    height: 400px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* Section Images */
.section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero-placeholder {
    height: 400px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.btn-primary {
    background-color: #1e3a8a;
    color: #ffffff;
    border: 2px solid #1e3a8a;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 1.125rem;
}

/* Features Overview */
.features-overview {
    background-color: #f8fafc;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #64748b;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.metric h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-size: 1.125rem;
}

.metric p {
    color: #64748b;
    margin: 0;
}

/* AI Risk Engine */
.ai-engine {
    text-align: center;
}

.ai-engine .section-content {
    text-align: left;
}

/* Commercial Risk Signals */
.commercial-risk {
    text-align: center;
}

.commercial-risk .section-content {
    text-align: left;
}

/* Vulnerable Formats Map */
.formats-map {
    text-align: center;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.format-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.format-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.format-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.risk-indicator {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.risk-indicator.low {
    background-color: #d1fae5;
    color: #065f46;
}

.risk-indicator.medium {
    background-color: #fef3c7;
    color: #92400e;
}

.risk-indicator.high {
    background-color: #fee2e2;
    color: #991b1b;
}

.format-card p {
    color: #64748b;
    margin: 0;
}

/* Grid Optimizer */
.grid-optimizer {
    background-color: #f8fafc;
    text-align: center;
}

.grid-optimizer .section-content {
    text-align: left;
}

.optimizer-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.feature p {
    color: #64748b;
    margin: 0;
}

/* Products Section */
.products {
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
}

.products .section-title,
.products .section-subtitle {
    color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: #374151;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-card.featured {
    background: #1e3a8a;
    border-color: #3b82f6;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: "Beliebteste Option";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.product-card ul {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.product-card li {
    padding: 0.5rem 0;
    color: #d1d5db;
    position: relative;
    padding-left: 1.5rem;
}

.product-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit p {
    color: #64748b;
    margin: 0;
}

/* Contacts Section */
.contacts {
    background-color: #f8fafc;
    text-align: center;
}

.contacts .contacts-grid {
    text-align: left;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    padding: 0.75rem;
    background-color: #e0f2fe;
    border-radius: 0.5rem;
}

.contact-item strong {
    display: block;
    color: #1f2937;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #64748b;
}

.contact-form-area {
    display: flex;
    align-items: center;
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    min-height: 300px;
    border: 2px dashed #cbd5e1;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-section:first-child {
    max-width: 300px;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        max-width: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-placeholder {
        height: 250px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-content.reverse {
        direction: ltr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .formats-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-card,
    .feature-card,
    .format-card {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        border-width: 3px;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}