/* --- Basis & Reset --- */
:root {
    --primary-color: #1a235a; /* Tiefes, seriöses Dunkelblau */
    --secondary-color: #2c3e50;
    --accent-color: #3498db; /* Dezenter Akzent für Links/Hover */
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #ffffff;
}

/* --- Navigation --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo img {
    display: block;
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.nav-links a.nav-cta {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.35rem 1rem;
    border-radius: 6px;
}

.nav-links a.nav-cta:hover {
    background: #232a68;
    color: #ffffff;
}

.lang-switch {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    gap: 4px;
    border: 1px solid #e1e4e8;
}

.nav-links .lang-switch a {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.nav-links .lang-switch a.active {
    background: var(--primary-color);
    color: #ffffff;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6rem 20px;
    text-align: center;
    background-image: linear-gradient(135deg, #1a235a 0%, #232a68 100%);
}

.hero .eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.hero p.lead {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: #232a68;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.hero .btn {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.hero .btn:hover {
    background: var(--bg-light);
}

.hero .btn-outline {
    background: transparent;
    color: #ffffff;
}

.hero .btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

/* --- Content Sections --- */
.section {
    padding: 5rem 20px;
    scroll-margin-top: 90px;
}

.section-bg {
    background-color: var(--bg-light);
}

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

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- Eckdaten --- */
.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.fact {
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.fact strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.15rem;
}

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

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card .more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.section-bg .service-card {
    background: #ffffff;
}

ul {
    list-style-type: none;
}

ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

ul li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Aus der Praxis --- */
.case {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

.case .who {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.case h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* --- Kontakt --- */
.contact {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, #1a235a 0%, #232a68 100%);
    color: #ffffff;
    text-align: center;
}

.contact h2 {
    color: #ffffff;
}

.contact p {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.contact .person {
    font-weight: 600;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.contact .btn {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.contact .btn:hover {
    background: var(--bg-light);
}

.contact .btn-outline {
    background: transparent;
    color: #ffffff;
}

.contact .btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.contact .profiles a {
    color: #ffffff;
    margin: 0 0.5rem;
}

/* --- Themenseiten --- */
.article {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 20px 4rem;
}

.article .crumbs {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.article .crumbs a {
    color: var(--primary-color);
}

.article h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.article .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.article h2 {
    font-size: 1.5rem;
    text-align: left;
    margin: 2.5rem 0 0.75rem;
}

.article h2::after {
    display: none;
}

.article p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.article ul,
.article ol {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.article ol {
    padding-left: 1.5rem;
}

.article ol li {
    margin-bottom: 0.8rem;
}

.article a {
    color: var(--primary-color);
}

.callout {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

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

.article .sources {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2.5rem;
    border-top: 1px solid #e1e4e8;
    padding-top: 1rem;
}

.article-cta {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2.5rem;
    text-align: center;
}

.article-cta p {
    margin-bottom: 1.25rem;
}

.article-cta .btn {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    margin: 0.25rem;
}

.article-cta .btn-outline {
    background: transparent;
    color: #ffffff;
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    text-align: center;
    padding: 3rem 20px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

footer .legal {
    margin-bottom: 1.5rem;
}

footer .copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 0.75rem; }
    .hero { padding: 4rem 20px; }
    .hero h1 { font-size: 2rem; }
    .hero p.lead { font-size: 1.1rem; }
    h2 { font-size: 1.8rem; }
    .section { padding: 3.5rem 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 1.75rem; }
    .case { padding: 1.5rem; }
    .article h1 { font-size: 1.9rem; }
    header { position: static; }
}
