* {
    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;
}

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

header {
    background-color: #084496;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo p {
    font-size: 0.875rem;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: #e5e7eb;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s;
}

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

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

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

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-mobile a:hover {
    color: #e5e7eb;
}

.hero {
    background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.hero-name {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rechtsgebiete {
    padding: 4rem 0;
    background-color: white;
}

.rechtsgebiete h3,
.ueber-mich h3,
.kontakt h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 3rem;
}

.cards {
    display: grid;
    gap: 2rem;
}

.card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #084496;
    margin-bottom: 1rem;
}

.card p {
    color: #374151;
    line-height: 1.6;
}

.ueber-mich {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.impressum {
    padding: 4rem 0;
    background-color: white;
}

.datenschutz {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.content-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.content-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #084496;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-box h4:first-child {
    margin-top: 0;
}

.content-box p {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.content-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #374151;
    line-height: 1.8;
}

.content-box li {
    margin-bottom: 0.5rem;
}

.content-box a {
    color: #084496;
    text-decoration: none;
}

.content-box a:hover {
    text-decoration: underline;
}

.datenschutz .content-box {
    background-color: white;
}

.kontakt {
    padding: 4rem 0;
    background-color: white;
}

.kontakt-grid {
    display: grid;
    gap: 3rem;
}

.kontakt-info h4,
.kontakt-form h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item svg {
    color: #084496;
    flex-shrink: 0;
    margin-top: 4px;
}

.info-label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: #084496;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #084496;
    box-shadow: 0 0 0 3px rgba(8, 68, 150, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: #084496;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #063470;
}

footer {
    background-color: #111827;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-info {
    text-align: center;
}

.footer-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-address {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }

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

    .hero-text {
        text-align: left;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero-description {
        margin: 0;
    }

    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .kontakt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-info {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hero h2 {
        font-size: 3.5rem;
    }
}

html {
    scroll-behavior: smooth;
}
