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

:root {
    /* Color Palette - Deep Blue and Slate */
    --primary-blue: #1e3a5f;
    --secondary-slate: #475569;
    --light-slate: #64748b;
    --accent-blue: #3b82f6;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-light) 0%, #e2e8f0 100%);
    padding: var(--spacing-3xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.logo-section {
    margin-bottom: var(--spacing-2xl);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.logo-svg {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: var(--border-radius);
    position: relative;
}

.logo-svg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
}

.logo-svg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
}

.brand-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-blue);
}

.hero-headline {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Platform Section */
.platform-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-white);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.platform-card {
    text-align: center;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    background: var(--background-light);
    box-shadow: var(--shadow-light);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--primary-blue);
    border-radius: 50%;
    position: relative;
}

.platform-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--border-radius);
}

/* Features Section */
.features-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    background: var(--secondary-slate);
    border-radius: var(--border-radius);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: var(--border-radius);
}

/* Process Section */
.process-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

.step-number {
    background: var(--primary-blue);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.step-image {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
    object-fit: cover;
    box-shadow: var(--shadow-light);
}

.benefits-image-main {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-medium);
}

/* Products Section */
.products-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-2xl);
}

.product-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    border: 3px solid transparent;
}

.product-card.featured {
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.product-card h3 {
    color: var(--primary-blue);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
}

.product-description {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
}

.product-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.product-features li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-lg);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.product-cta {
    margin-top: auto;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-white);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-slate);
    border-radius: var(--border-radius);
    flex-shrink: 0;
    position: relative;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: white;
    border-radius: var(--border-radius);
}

.benefit-content h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.benefits-image {
    text-align: center;
}

.case-study-image {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-light);
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .step-image {
        height: 150px;
    }
    
    .benefits-image-main {
        height: 250px;
    }
    
    .case-study-image {
        height: 180px;
    }
}

/* Disclaimer Section */
.disclaimer-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--background-light);
    border-top: 3px solid var(--accent-blue);
    border-bottom: 3px solid var(--accent-blue);
}

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

.disclaimer-content h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
}

.disclaimer-content p {
    font-size: var(--font-size-sm);
    font-style: italic;
}

/* Case Studies Section */
.case-studies-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

.case-study {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-light);
}

.case-study-image-placeholder {
    width: 100%;
    height: 200px;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 2px dashed var(--border-color);
}

.case-study-image-placeholder::before {
    content: 'Kundenlogo / Bild';
}

.case-study h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: var(--border-radius);
    flex-shrink: 0;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: white;
    border-radius: var(--border-radius);
}

.contact-details h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-blue);
}

.contact-form-placeholder {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.form-placeholder-content h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
}

.form-placeholder-content p {
    margin-bottom: var(--spacing-xl);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo .logo-svg {
    width: 40px;
    height: 40px;
    background: white;
}

.footer-logo .logo-svg::before {
    background: var(--primary-blue);
}

.footer-logo .logo-svg::after {
    background: white;
}

.footer-logo .brand-name {
    color: white;
    font-size: var(--font-size-lg);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
    color: white;
}

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

.footer-column li {
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

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

.footer-column a {
    color: inherit;
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 95, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-lg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-text a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: white;
}

.cookie-banner-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #22c55e;
    color: white;
}

.cookie-btn-accept:hover {
    background: #16a34a;
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-btn-customize {
    background: transparent;
    color: #93c5fd;
    border: 1px solid #93c5fd;
}

.cookie-btn-customize:hover {
    background: #93c5fd;
    color: var(--primary-blue);
}

/* Cookie Customization Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
    color: var(--primary-blue);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: var(--primary-blue);
}

.cookie-category {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.cookie-category-header h4 {
    color: var(--primary-blue);
    margin: 0;
    font-size: var(--font-size-base);
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--accent-blue);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #e2e8f0;
    cursor: not-allowed;
}

.cookie-category-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.cookie-modal-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-btn-save {
    background: var(--primary-blue);
    color: white;
}

.cookie-modal-btn-save:hover {
    background: #1a3354;
}

.cookie-modal-btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-modal-btn-cancel:hover {
    background: var(--background-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 36px;
        --font-size-2xl: 28px;
        --font-size-xl: 20px;
        --spacing-3xl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-section {
        min-height: 60vh;
        padding: var(--spacing-2xl) 0;
    }
    
    .logo-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .benefits-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: var(--spacing-md);
        padding: var(--spacing-lg);
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}