/* ============================================================
   Dr. Max Muster – Praxis-Website
   Farben:   Tanne #1E4038 | Salbei #A8C3B4 | Papier #FCFCFA
             Tinte #22302B | Linie #DDE5DF
   Schrift:  Fraunces (Display) + Inter (Body)
   ============================================================ */

:root {
    --pine: #1E4038;
    --pine-dark: #16302A;
    --sage: #A8C3B4;
    --paper: #FCFCFA;
    --ink: #22302B;
    --line: #DDE5DF;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}

a { color: var(--pine); }

/* ===== Navigation ===== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 252, 250, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--pine);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
}

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

.nav-cta {
    background: var(--pine);
    color: var(--paper) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
}

.nav-cta:hover { background: var(--pine-dark); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(175deg, var(--paper) 60%, #EFF4F0 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5.5rem 1.25rem 4.5rem;
    text-align: center;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pine);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3rem, 9vw, 5.5rem);
    line-height: 1.02;
    color: var(--pine-dark);
}

.pulse-divider {
    color: var(--sage);
    max-width: 320px;
    margin: 1.5rem auto;
}

.pulse-divider svg { width: 100%; height: 40px; display: block; }

.pulse-divider.light { color: var(--sage); }

.hero-sub {
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 2.5rem;
}

.hero-facts {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.fact { text-align: center; }

.fact-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pine);
    margin-bottom: 0.2rem;
}

.fact-value { font-size: 0.98rem; }

.fact-value a { text-decoration: none; font-weight: 600; }

/* ===== Sektionen ===== */
.section { padding: 4.5rem 0; }

.section-alt { background: #F3F6F3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--pine-dark);
    margin-bottom: 2rem;
}

.section h3 {
    font-size: 1.1rem;
    color: var(--pine);
    margin-bottom: 0.6rem;
}

/* ===== Leistungen ===== */
.services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.services li {
    background: white;
    border: 1px solid var(--line);
    border-left: 3px solid var(--sage);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== Ordination Cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.75rem;
}

.card p { font-size: 0.95rem; }

/* ===== Ordinationszeiten ===== */
.hours {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.75rem;
    max-width: 560px;
}

.hours table { width: 100%; border-collapse: collapse; }

.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }

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

.hours td:first-child { font-weight: 600; width: 38%; }

.hours-note { margin-top: 0.9rem; font-size: 0.85rem; color: #5c6b63; }

/* ===== Curriculum ===== */
.curriculum {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.portrait {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
}

.cv-table { width: 100%; border-collapse: collapse; }

.cv-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    vertical-align: top;
}

.cv-table td:first-child {
    font-weight: 600;
    color: var(--pine);
    width: 110px;
    white-space: nowrap;
    padding-right: 1.25rem;
}

/* ===== Galerie ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.tile { aspect-ratio: 4 / 3; border-radius: 8px; }

/* ===== Platzhalter ===== */
.placeholder {
    background: repeating-linear-gradient(
        45deg,
        #E9EFEA,
        #E9EFEA 12px,
        #F3F6F3 12px,
        #F3F6F3 24px
    );
    border: 1px dashed var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5c6b63;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--pine-dark);
    color: #E8EFEA;
    text-align: center;
    padding: 4.5rem 1.25rem 2rem;
}

.footer-inner { max-width: 700px; margin: 0 auto; }

.site-footer h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2rem;
    color: white;
}

.footer-sub { color: var(--sage); margin-bottom: 0.5rem; }

.site-footer address {
    font-style: normal;
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.btn-call {
    display: inline-block;
    background: var(--sage);
    color: var(--pine-dark);
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    margin-bottom: 1.75rem;
}

.btn-call:hover { background: #BBD2C5; }

.footer-map { font-size: 0.85rem; color: #9FB4A8; margin-bottom: 2.5rem; }

.footer-meta {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #9FB4A8;
}

.footer-meta a { color: #9FB4A8; }

/* ===== Mobile ===== */
@media (max-width: 760px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 1.25rem;
        gap: 1.1rem;
    }

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

    .hero-inner { padding: 3.5rem 1.25rem 3rem; }

    .hero-facts { gap: 1.5rem; }

    .curriculum { grid-template-columns: 1fr; }

    .portrait { max-width: 240px; }

    .footer-meta { justify-content: center; }
}
