* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background: #37474F;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #81C784;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#cta-button {
    background: white;
    color: #388E3C;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

#cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2c3e50;
}

/* About Content */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Projects List */
.projects-content {
    max-width: 800px;
    margin: 0 auto;
}

.projects-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.projects-list {
    list-style: none;
    padding: 0;
}

.projects-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05rem;
    padding-left: 2rem;
    position: relative;
}

.projects-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #66BB6A;
    font-size: 1.2rem;
}

.projects-list li:last-child {
    border-bottom: none;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #66BB6A;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-content {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-email svg {
    color: #66BB6A;
    flex-shrink: 0;
}

.contact-email a {
    color: #66BB6A;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-email a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #37474F;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Impressum Section */
.impressum {
    background: #f8f9fa;
    padding: 3rem 2rem;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.impressum-content h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.impressum-content h2,
.impressum-content h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.impressum-content h3:first-child {
    margin-top: 0;
}

.impressum-content h4 {
    color: #66BB6A;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.impressum-content a {
    color: #66BB6A;
    text-decoration: none;
}

.impressum-content a:hover {
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }
}
