/* ============================================
   Praxis Dr. med. Goetz Lohrmann
   Farbschema basierend auf Logo:
   Primaer: #7a2332 (Burgunder/Dunkelrot)
   Grau:    #6e6e6e / #9a9a9a
   ============================================ */

:root {
    --color-primary: #7a2332;
    --color-primary-dark: #5c1a26;
    --color-primary-light: #9a3448;
    --color-gray: #6e6e6e;
    --color-gray-light: #9a9a9a;
    --color-bg: #f7f6f4;
    --color-bg-alt: #ffffff;
    --color-text: #2d2d2d;
    --color-text-light: #555555;
    --color-border: #e0ddd8;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1100px;
    --nav-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

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

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-inner {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo span {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    color: var(--color-text-light);
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
    margin-top: var(--nav-height);
    padding: 80px 24px 60px;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.hero .subtitle {
    font-size: 17px;
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: 4px;
}

.hero .specialties {
    font-size: 15px;
    color: var(--color-gray-light);
    font-weight: 400;
}

/* Sektionen */
.section {
    padding: 64px 24px;
}

.section:nth-child(odd) {
    background-color: var(--color-bg);
}

.section:nth-child(even) {
    background-color: var(--color-bg-alt);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.section-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}

.section-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 28px;
    margin-bottom: 8px;
}

.section-content h3:first-child {
    margin-top: 0;
}

.section-content p {
    margin-bottom: 16px;
}

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

.section-content img {
    border-radius: 8px;
    margin: 16px 0;
}

#willkommen .section-content img {
    display: block;
    max-width: 480px;
    width: 100%;
    margin-top: 24px;
}

/* Oeffnungszeiten Tabelle */
.hours-table {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
    margin-top: 16px;
}

.hours-table td {
    padding: 10px 16px;
    font-size: 15px;
    border-bottom: 1px solid var(--color-border);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:first-child {
    font-weight: 500;
    color: var(--color-text);
    width: 160px;
}

.hours-table td:last-child {
    color: var(--color-text-light);
}

.hours-note {
    margin-top: 20px;
    font-size: 15px;
    color: var(--color-gray);
    font-style: italic;
}

/* Doctolib Booking */
.booking-button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.booking-button:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.booking-button:active {
    transform: translateY(0);
}

/* Rezeptbestellung */
.email-link {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.email-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.contact-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact-block p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    padding: 32px 24px;
    background: var(--color-text);
    color: #b0b0b0;
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: #d0d0d0;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    margin: 0 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

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

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

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

    .hero {
        padding: 60px 24px 48px;
    }

    .hero-logo {
        width: 100px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 48px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 20px;
    }

    .hero .subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .hours-table td:first-child {
        width: 120px;
    }
}
