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

body {
    font-family: Futura, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher select {
    padding: 10px 16px;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    font-family: Futura, sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.language-switcher select:hover {
    background: white;
    border-color: #333;
}

.language-switcher select:focus {
    outline: none;
    border-color: #000;
}

/* Header */
header {
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(to bottom, #fafafa, #fff);
}

header .logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 30px;
}

header h1 {
    font-size: 48px;
    margin: 0;
    color: #000;
    font-weight: 500;
}

header .subtitle {
    font-size: 20px;
    color: #666;
    margin-top: 10px;
}

/* Navigation */
nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

nav .container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

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

nav a:hover {
    color: #000;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: #fafafa;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    object-fit: contain;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
}

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

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #000;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.contact-info a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.7;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Futura, sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.contact-form button {
    background: #000;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-family: Futura, sans-serif;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #333;
}

#form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

#form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    margin: 0;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }

    header .subtitle {
        font-size: 18px;
    }

    nav .container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .services-section h2,
    .contact-section h2 {
        font-size: 28px;
    }

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

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }
}

/* Page-specific styles for Impressum and Privacy */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-content h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #000;
}

.page-content h2 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #000;
}

.page-content h3 {
    font-size: 16px;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #333;
}

.page-content p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #555;
    font-size: 14px;
}

.page-content ul {
    margin: 12px 0 12px 25px;
    line-height: 1.7;
    color: #555;
    font-size: 14px;
}

.page-content a {
    color: #000;
    text-decoration: underline;
}

.page-content a:hover {
    opacity: 0.7;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    opacity: 0.7;
}
