/* ========================================
   SMV Reisemobil-Auflastung - Stylesheet
   Farben: #0e4f7d (Dunkelblau), #157db0 (Hellblau)
   ======================================== */

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

:root {
    --primary-dark: #0e4f7d;
    --primary-light: #157db0;
    --gray-light: #c5c7c3;
    --gray-dark: #333333;
    --white: #ffffff;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
}

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

/* Header */
.header {
    background: var(--white);
    border-bottom: 3px solid var(--primary-dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    height: 60px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-light);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--gray-dark);
}

.btn-secondary:hover {
    background: #b0b2ae;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Info Cards */
.info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Check Section */
.check-section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: var(--primary-light);
    background: #f0f8ff;
}

.radio-label input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-light);
}

.radio-label span {
    font-size: 1.1rem;
}

/* Upload Boxes */
.upload-box {
    margin-bottom: 30px;
}

.upload-label {
    display: block;
    padding: 40px;
    border: 3px dashed var(--gray-light);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-label:hover {
    border-color: var(--primary-light);
    background: #f0f8ff;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-label h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.upload-label input[type="file"] {
    display: none;
}

.file-name {
    display: block;
    margin-top: 15px;
    color: var(--success);
    font-weight: 600;
}

.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 60px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--gray-light);
    border-top: 5px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result Container */
.result-container {
    margin-top: 40px;
    padding: 30px;
    border-radius: 10px;
}

.result-success {
    background: #d4edda;
    border: 2px solid var(--success);
}

.result-error {
    background: #f8d7da;
    border: 2px solid var(--error);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.result-icon {
    font-size: 2.5rem;
}

.result-details {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--gray-dark);
}

.result-value {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Product Cards */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.product-card.featured {
    border: 3px solid var(--primary-light);
}

.product-badge {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.product-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--gray-dark);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--success);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.product-price span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.product-variants {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.product-variants p {
    margin: 8px 0;
}

/* Montage Info */
.montage-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.montage-info h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 30px;
}

.montage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.montage-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.montage-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.montage-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin: 10px 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.contact-card a {
    color: var(--primary-light);
    text-decoration: none;
}

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

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .products-grid,
    .info-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-buttons {
        flex-direction: column;
    }
}