/* ====================================================
   Psychotherapie in Witten – Stylesheet
   Sauberes, modernes Design für die Praxisgemeinschaft
   ==================================================== */

:root {
    --color-primary: #2c5f7f;        /* Ruhiges Blau */
    --color-primary-dark: #1e425a;
    --color-primary-light: #e7f0f6;
    --color-accent: #6fa8c4;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-muted: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7fafc;
    --color-border: #e2e8f0;
    --color-success: #38a169;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;

    --max-width: 1140px;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

/* Reset & Basis */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    color: var(--color-primary-dark);
    line-height: 1.25;
    margin: 0 0 0.5em 0;
}
h1 { font-size: 2.2rem; font-weight: 600; }
h2 { font-size: 1.6rem; font-weight: 600; margin-top: 2em; }
h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5em; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em 0; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= HEADER ================= */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--color-primary-dark);
    color: #fff;
    font-size: 0.85rem;
    padding: 6px 0;
}
.header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}
.header-top a { color: #fff; opacity: 0.92; }
.header-top a:hover { opacity: 1; text-decoration: underline; }

.header-main {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-primary-dark);
}
.site-logo:hover { text-decoration: none; }
.site-logo strong {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.site-logo span {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-size: 0.95rem;
}
.btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff !important; }

/* Navigation */
.main-nav {
    background: var(--color-primary-light);
    border-top: 1px solid var(--color-border);
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.main-nav li { display: flex; }
.main-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--color-primary-dark);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.main-nav a:hover {
    background: rgba(255,255,255,0.7);
    border-bottom-color: var(--color-primary);
    text-decoration: none;
}
.main-nav a.active {
    background: #fff;
    border-bottom-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.nav-toggle {
    display: none;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    cursor: pointer;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #f0f5f9 100%);
    padding: 70px 0 60px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.hero .lead {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 720px;
    margin: 0 auto 30px;
}
.hero .badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.badge {
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================= TEAM GRID ================= */
.team-section { padding: 60px 0; }
.team-section h2 { text-align: center; margin-bottom: 8px; }
.team-section .intro { text-align: center; color: var(--color-text-light); max-width: 720px; margin: 0 auto 40px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.team-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.team-card-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card-photo .placeholder {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-light);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.team-card h3 {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    color: var(--color-primary-dark);
}
.team-card .role {
    color: var(--color-muted);
    font-size: 0.92rem;
    margin-bottom: 12px;
}
.team-card .specialty {
    color: var(--color-text-light);
    font-size: 0.93rem;
    flex: 1;
}
.team-card.highlight {
    border: 2px solid var(--color-primary);
    background: linear-gradient(180deg, #fff 0%, var(--color-primary-light) 100%);
}
.team-card.highlight::before {
    content: "Schwerpunkt Diagnostik";
    display: block;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.photo-credit {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 8px;
    margin-bottom: 0;
    font-style: italic;
}
.photo-credit a {
    color: var(--color-muted);
}

/* ================= CONTENT BLOCKS ================= */
.section { padding: 50px 0; }
.section-alt { background: var(--color-bg-alt); }

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 24px;
}
.content h1 { margin-bottom: 30px; padding-bottom: 16px; border-bottom: 2px solid var(--color-primary-light); }
.content h2 { color: var(--color-primary); }
.content ul, .content ol { padding-left: 24px; }
.content li { margin-bottom: 6px; }

.info-card {
    background: var(--color-primary-light);
    border-left: 4px solid var(--color-primary);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.info-card.warn {
    background: #fef5e7;
    border-left-color: #dd9333;
}
.info-card h3, .info-card h4 { margin-top: 0; }

.contact-box {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}
.contact-box h3 { margin-top: 0; color: var(--color-primary); }
.contact-box .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 30px 0;
}
.feature {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow 0.2s;
}
.feature:hover { box-shadow: var(--shadow-md); }
.feature h3 { color: var(--color-primary); margin-top: 0; font-size: 1.1rem; }
.feature p { margin-bottom: 0; font-size: 0.95rem; }

/* ================= FOOTER ================= */
.site-footer {
    background: var(--color-primary-dark);
    color: #cbd5e0;
    padding: 50px 0 20px;
    margin-top: 60px;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}
.site-footer a { color: #cbd5e0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.92rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 1.9rem; }
    .hero .lead { font-size: 1.05rem; }

    .header-main { flex-wrap: wrap; }
    .header-top { font-size: 0.8rem; }
    .header-top .container { justify-content: center; }

    .nav-toggle { display: block; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
    }
    .main-nav.open ul { display: flex; }
    .main-nav a { padding: 12px 24px; }

    .content { padding: 30px 16px; }
    .container { padding: 0 16px; }
    .team-section { padding: 40px 0; }
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.hidden { display: none; }
