/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #00a0e9;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

.section {
    display: none;
}

/* Language Switcher */
#language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    background-color: white;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

#language-switcher button {
    border: none;
    background: none;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#language-switcher button.active {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    background-color: var(--light-color);
    padding: 5rem 0;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Application Fields Section */
.applications-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.application-image {
    flex: 1;
}

.application-content {
    flex: 1;
}

.application-list li {
    margin-bottom: 2rem;
}

.application-list h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Packages Section */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.package-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.package-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.package-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.package-content {
    padding: 1.5rem;
}

.package-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.package-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.package-footer {
    padding: 1.5rem;
    text-align: center;
}

.package-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.package-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.package-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Process Section */
.process-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.process-image {
    flex: 1;
}

.process-steps {
    flex: 1;
}

.process-step {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.legal-links {
    margin-top: 2rem;
}

.legal-links a {
    margin-right: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

.footer-column a {
    color: white;
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Language-specific display */
html[lang="de"] .en {
    display: none;
}

html[lang="en"] .de {
    display: none;
}

html[lang="de"] .section.de {
    display: block;
}

html[lang="en"] .section.en {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-container,
    .process-container,
    .contact-container {
        flex-direction: column;
    }
    
    .application-image,
    .process-image {
        margin-bottom: 2rem;
    }
    
    #hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        display: block;
        text-align: center;
    }
}
