/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4b5563; /* Main text color */
    background-color: #ffffff; /* White background */
}

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

/* =================================== */
/*          HEADER                     */
/* =================================== */

.header {
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent light bg */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb; /* Light border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
}

.logo-img {
    height: 110px;
    width: auto;
    vertical-align: middle;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    flex-direction: column;
    gap: 5px;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1f2937; /* Dark color for hamburger */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto; /* Pushes the menu to the left */
}

.nav-menu a {
    text-decoration: none;
    color: #1f2937; /* Dark text for nav links */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb; /* Blue accent */
}

/* Hero Section */
.hero {
    background: #f8fafc; /* Very light gray */
    color: #1f2937;
    padding: 180px 0 120px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #4b5563;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #1f2937;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Services Section */
.services {
    background-color: #f8fafc;
}

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

.service-card {
    background: #ffffff; 
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #2563eb;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    background-color: #ffffff;
}

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

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.testimonial-card blockquote {
    margin: 0 0 1.5rem 0;
    padding: 0;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '“';
    position: absolute;
    left: -15px;
    top: -35px;
    font-size: 6rem;
    color: #2563eb;
    opacity: 0.1;
    font-family: 'Georgia', serif;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
    margin-top: auto;
}

/* Contact Section */
.contact {
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4b5563;
    font-size: 1.1rem;
}

.contact-item a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.contact-icon {
    font-size: 1.5rem;
    color: #2563eb;
}

.contact-icon-img {
    width: 24px;
    height: 24px;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    background-color: #f8fafc;
    color: #4b5563;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #1f2937; /* Dark footer for contrast */
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-section > p > a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section > p > a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* For content pages like Impressum */
.content-page-main {
    padding-top: 140px; /* Adjust for taller header */
    padding-bottom: 40px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8fafc;
    padding: 2rem 3rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.content-wrapper h2 {
    font-size: 1.5rem;
    color: #1f2937;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 10px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        /* Mobile menu overlay styles */
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 100vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;

        transition: left 0.4s ease-in-out;
        
        z-index: 1001;
    }

    .nav-menu li a {
        font-size: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    body.menu-open .nav-menu {
        left: 0;
    }
    
    body.menu-open .mobile-menu-btn .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    body.menu-open .mobile-menu-btn .bar:nth-child(2) {
        opacity: 0;
    }
    body.menu-open .mobile-menu-btn .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 160px 0 80px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
} 