* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
   height: 100%;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fefefe;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.8rem;
    color: #2c2c2c;
    margin-bottom: 0.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 300;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #A4C4AD;
}

/* Hero Sektion */
.hero {
    background: linear-gradient(135deg, #f8f9f8 0%, #f2f6f2 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background-color: #f9faf9;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #f0f4f0;
}

.contact-message {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

.contact-email {
    color: #2c2c2c;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
    position: relative;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    font-size: 1.1rem;
}

.contact-email::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #A4C4AD;
    transition: width 0.3s ease;
}

.contact-email:hover {
    color: #A4C4AD;
    border-bottom-color: #A4C4AD;
}

.contact-email:hover::after {
    width: 100%;
}

/* Services Sektion */
.services {
    padding: 4rem 2rem;
    background-color: #ffffff;
    flex: 1; /* Services nimmt verfügbaren Platz ein */
}

.services h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    font-weight: 300;
    letter-spacing: 1px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: #fafbfa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f4f0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(164, 196, 173, 0.15);
    border-color: #A4C4AD;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #A4C4AD;
    font-weight: 400;
}

.service-item p {
    color: #555;
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.legal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-weight: 300;
    text-align: center;
}

.legal-section {
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #A4C4AD;
    font-weight: 400;
    border-bottom: 2px solid #f1ede7;
    padding-bottom: 0.5rem;
}

.legal-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    color: #2c2c2c;
    font-weight: 400;
}

.legal-section p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-section a {
    color: #A4C4AD;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: #999;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* CSS-Ergänzungen für die verbesserte Datenschutzerklärung */

/* Intro Text */
.intro-text {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Boxes */
.info-box {
    background-color: #f9faf9;
    border-left: 4px solid #A4C4AD;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.info-box h4 {
    color: #A4C4AD;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.info-box p {
    margin-bottom: 0.8rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Contact Box */
.contact-box {
    background-color: #fafbfa;
    border: 1px solid #e8ece8;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contact-box p {
    margin-bottom: 0;
}

/* Important Notice */
.important-notice {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.important-notice p {
    margin-bottom: 1rem;
}

.important-notice p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #2c2c2c;
    color: #ffffff;
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #A4C4AD;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-message {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .contact-email {
        font-size: 1rem;
    }
}