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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    scroll-behavior: smooth;
    font-size: 17px;
    scroll-padding-top: 130px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

body.fade-out {
    opacity: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #a41d23;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: padding 0.3s ease;
}

nav.scrolled {
    padding: 0.6rem 0;
}

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

.logo {
    height: 120px;
    transition: height 0.3s ease;
}

nav.scrolled .logo {
    height: 50px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: opacity 0.3s;
    font-size: 1.05rem;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Image */
.hero-image {
    margin-top: 150px;
    width: 100%;
    height: 400px;
    background: url('grafiken/dr-karina-klein.jpg') center center/cover no-repeat;
    transition: margin-top 0.3s ease;
}

nav.scrolled ~ .hero-image {
    margin-top: 80px;
}

/* Sections */
section {
    padding: 60px 2rem;
}

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

.bg-yellow {
    background: #fff5d7;
}

.bg-white {
    background: white;
}

h1 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

h2 {
    font-size: 1.9rem;
    color: #a41d23;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    color: #a41d23;
    margin: 1.5rem 0 0.8rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
    text-align: left;
}

/* Quality Section */
.quality-section {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

.seal {
    max-width: 150px;
    height: auto;
    flex-shrink: 0;
}

.quality-text {
    flex: 1;
}

/* CV Items */
.cv-list {
    margin-top: 1.5rem;
}

.cv-item {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.cv-item:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: #a41d23;
    font-size: 1.2rem;
    line-height: 1;
}

/* Memberships */
.memberships {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.membership-item {
    margin-bottom: 0.8rem;
}

.membership-item:before {
    content: "•";
    color: #a41d23;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.memberships a {
    color: #a41d23;
    text-decoration: none;
    font-weight: 700;
}

.memberships a:hover {
    text-decoration: underline;
}

/* Treatment Cards */
.treatment-card {
    margin-bottom: 1.5rem;
}

.treatment-card h3 {
    margin-top: 0;
}

/* Engagement */
.engagement-item {
    margin-bottom: 2rem;
}

.engagement-item a {
    color: #a41d23;
    text-decoration: none;
    font-weight: 700;
}

.engagement-item a:hover {
    text-decoration: underline;
}

/* Contact */
.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: #a41d23;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.appointment-note {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: #a41d23;
    color: white;
    padding: 2rem;
}

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

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

.footer-content p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

footer a {
    color: white;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #a41d23;
        padding: 1rem;
        gap: 0.5rem;
    }

    nav ul.active {
        display: flex;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }

    nav a {
        font-size: 1rem;
    }

    .hero-image {
        height: 250px;
        margin-top: 140px;
    }

    section {
        padding: 40px 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    body {
        scroll-padding-top: 170px;
    }

    .logo {
        height: 80px;
    }

    nav.scrolled .logo {
        height: 50px;
    }

    .quality-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .seal {
        max-width: 120px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}