@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #1a2d4e;
    --primary-light: #2a4a7a;
    --accent: #c9a962;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #e2e0dc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4 {
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: var(--accent); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

section { padding: 100px 0; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg {
    width: 26px;
    height: 26px;
    fill: var(--bg);
}

.logo-text {
    font-family: 'Source Serif 4', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

nav a:hover { color: var(--primary); }

/* Hero */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

.hero h1 { margin-bottom: 1.5rem; }

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

.hero-meta-value {
    font-family: 'Source Serif 4', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-meta-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p { color: var(--text-light); }

/* Rechtsgebiete */
.rechtsgebiete { background: var(--bg); }

.rechtsgebiete-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rechtsgebiet-card {
    padding: 40px 30px;
    background: var(--bg-alt);
    border-radius: 4px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.rechtsgebiet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--accent);
}

.rechtsgebiet-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rechtsgebiet-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--bg);
}

.rechtsgebiet-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Team */
.team { background: var(--bg-alt); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.team-member {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.team-photo {
    width: 160px;
    height: 200px;
    background: var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 { margin-bottom: 5px; }

.team-title {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
}

.team-contact {
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Service (VerwertungsPartner) */
.service {
    background: var(--primary);
    color: var(--bg);
}

.service h2 { color: var(--bg); }

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

.service-text p { color: rgba(255,255,255,0.8); }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.service-link:hover {
    background: #d4b46e;
    color: var(--primary);
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-feature {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 4px;
}

.service-feature h4 {
    color: var(--bg);
    font-size: 1rem;
    margin-bottom: 8px;
}

.service-feature p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* Kontakt */
.kontakt { background: var(--bg); }

.kontakt-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.kontakt-info h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.kontakt-info h3:first-child { margin-top: 0; }

.kontakt-details {
    font-size: 0.95rem;
    color: var(--text-light);
}

.kontakt-details p { margin-bottom: 0.5rem; }

.kontakt-map {
    background: var(--bg-alt);
    border-radius: 4px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--bg-alt);
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links a:hover { color: var(--primary); }

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Legal Pages */
.legal-page { padding: 160px 0 100px; }

.legal-page h1 { margin-bottom: 40px; }

.legal-content { max-width: 800px; }

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p,
.legal-content li {
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 2rem; }
    
    .rechtsgebiete-grid,
    .team-grid { grid-template-columns: 1fr; }
    
    .service-content,
    .kontakt-content { grid-template-columns: 1fr; }
    
    .hero-meta { flex-wrap: wrap; gap: 30px; }
    
    nav { display: none; }
    
    .footer-content { flex-direction: column; gap: 20px; }
}
