/* CSS Reset und Grundlagen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 60px;
    height: 50px;
    margin-right: 15px;
}

.logo-printer-left {
    position: absolute;
    left: 0;
    top: 8px;
    width: 25px;
    height: 25px;
    background: #2c3e50;
    border-radius: 3px;
}

.logo-window {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 8px;
    background: #34495e;
    border-radius: 2px;
}

.logo-extruder {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    background: #e74c3c;
    border-radius: 50%;
}

.logo-bed {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: #95a5a6;
}

.logo-lines {
    position: absolute;
    bottom: -8px;
    left: 2px;
    right: 2px;
    height: 6px;
}

.logo-line {
    height: 1px;
    background: #bdc3c7;
    margin-bottom: 1px;
}

.logo-printer-right {
    position: absolute;
    right: 8px;
    top: 5px;
    width: 20px;
    height: 30px;
    background: #ecf0f1;
    border-radius: 3px;
}

.logo-spool {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #3498db;
    border-radius: 50%;
}

.logo-base {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #7f8c8d;
    border-radius: 4px;
}

.logo-text {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    font-size: 10px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3498db;
}

.anfrage-btn {
    background: #3498db;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.anfrage-btn:hover {
    background: #2980b9;
}

/* Main Content */
main {
    padding-top: 80px;
}

.main-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.info-content {
    padding: 1.5rem;
}

.info-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.info-content p {
    color: #666;
    margin-bottom: 1rem;
}

.info-tag {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #3498db;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-highlight {
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
    border-radius: 5px;
    font-weight: 500;
    color: #2c3e50;
}

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

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-caption {
    margin-top: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.about-caption small {
    display: block;
    color: #666;
    font-weight: normal;
}

/* Features Grid */
.about-features h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: #3498db;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.feature-item p {
    color: #666;
}

/* CAD Boost Section */
.cad-boost {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.cad-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cad-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.cad-text p {
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.cad-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.tool-icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.tool-icon svg {
    width: 100%;
    height: 100%;
}

.tool-item span:last-child {
    font-weight: 500;
}

/* About Motivation */
.about-motivation {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.about-motivation h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

blockquote {
    border: none;
    margin: 0;
    padding: 0;
}

blockquote p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #444;
    font-style: italic;
}

cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-weight: 600;
    color: #2c3e50;
    font-style: normal;
}

.cta-about {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.cta-about p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Anfrage Section */
.anfrage-section {
    background: #2c3e50;
    color: white;
}

.anfrage-section h2,
.anfrage-section .section-description {
    color: white;
}

.anfrage-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    color: #333;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #3498db;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.upload-text strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.upload-text small {
    color: #666;
}

.file-list {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.file-list li {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-btn {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cad-content {
        grid-template-columns: 1fr;
    }
    
    .cad-tools {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .anfrage-form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Form Validation */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e74c3c;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #27ae60;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card,
.service-card,
.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}