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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header {
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #FFD700;
}

.cta-button {
    background: #FFD700;
    color: #000;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #f0c800;
    transform: translateY(-2px);
}

.hero {
    background: #ededed;
    padding: 60px 20px;
    min-height: 400px;
}

/* Background Image Container */
.content-wrapper {
    position: relative;
    background-image: url('images/background-diagrams.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.content-wrapper > section {
    position: relative;
    z-index: 1;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 500px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.1));
}

.services {
    padding: 80px 20px;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    padding: 40px;
    background: #fff;
    border-radius: 10px;
}

.service-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 30px;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* About Section */
.about {
    padding: 80px 20px 100px;
    background: #fff;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;
}

.about-header .section-title {
    flex: 1;
    margin: 0;
    padding-right: 20px;
}

.about-portrait {
    width: 232px;
    height: 232px;
    min-width: 232px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-content {
    padding: 0 40px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Q&A Section */
.qna {
    padding: 80px 20px 100px;
    background: #f9f9f9;
}

.qna-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.qna-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    margin-left: 40px;
    margin-right: 40px;
    color: #333;
}

.qna-content {
    padding: 0 40px;
}

.qna-item {
    margin-bottom: 40px;
}

.qna-item:last-child {
    margin-bottom: 0;
}

.qna-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.qna-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* E-Mail Schutz Styling */
.email-protected a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-protected a:hover {
    color: #fff;
}

.legal-content .email-protected a {
    color: #FFD700;
}

.legal-content .email-protected a:hover {
    color: #333;
    text-decoration: underline;
}

@media (max-width: 968px) {
    .about-header {
        flex-direction: column;
        gap: 30px;
        margin-left: 40px;
        margin-right: 40px;
    }

    .about-header .section-title {
        padding-right: 0;
    }

    .about-portrait {
        align-self: flex-start;
    }

    .burger-menu {
        display: flex;
    }

    .header-content {
        position: relative;
    }

    .main-nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        padding: 20px;
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav a {
        display: block;
        padding: 10px;
    }

    .cta-button {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .logo {
        width: 400px;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 15px 20px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h2 {
        font-size: 1.5rem;
    }

    .logo {
        width: 300px;
    }

    .about {
        padding: 40px 20px 60px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-left: 20px;
        margin-right: 20px;
    }

    .about-content {
        padding: 0 20px;
    }

    .about-text p {
        font-size: 1rem;
    }

    .qna {
        padding: 40px 20px 60px;
    }

    .qna-title {
        font-size: 1.5rem;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 30px;
    }

    .qna-content {
        padding: 0 20px;
    }

    .qna-item {
        margin-bottom: 30px;
    }

    .qna-item h3 {
        font-size: 1.2rem;
    }
}

/* Footer Styles */
.footer {
    background: #2c2c2c;
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ccc;
}

.footer-links li a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
}

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

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 80px 20px;
    background: #fff;
    min-height: 80vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #333;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

.legal-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: #666;
}

.legal-content a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #333;
    text-decoration: underline;
}

.back-link {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.back-link a {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #FFD700;
}

@media (max-width: 640px) {
    .legal-page {
        padding: 40px 20px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }
}