/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --text-dark: #1e293b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-left {
    display: flex;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-blue);
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-doctolib {
    background: var(--secondary-blue);
    color: var(--white);
}

.btn-doctolib:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-contact {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.doctolib-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.btn-doctolib-full {
    background: transparent;
    padding: 0;
    border: none;
    transition: transform 0.3s ease;
}

.btn-doctolib-full:hover {
    transform: scale(1.05);
}

.doctolib-full-image {
    width: 80px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.doctolib-full-image:hover {
    transform: scale(1.05);
}

.assistant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.btn-floating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    width: auto;
    min-width: 140px;
}

.floating-doctolib-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.floating-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.floating-text span {
    display: block;
}

.floating-doctolib-icon {
    width: 100%;
    max-width: 80px;
    height: auto;
    opacity: 0.8;
    align-self: center;
    object-fit: contain;
}

.email-link {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-floating {
    background: rgba(30, 58, 138, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
}

.btn-floating:hover {
    background: rgba(30, 64, 175, 0.6) !important;
    transform: translateY(-2px);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.floating-cta .btn {
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
    height: 70vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    object-position: center center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
}

.hero-title-section {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    text-align: left;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

/* Intro Text Section */
.intro-text {
    padding: 4rem 0;
    background: var(--white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.intro-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
}

.intro-text-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text-content p {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

/* Leistungen Section */
.leistungen {
    padding: 4rem 0;
    background: var(--light-gray);
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leistung-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.leistung-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.leistung-image {
    width: 100px;
    height: 100px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
    overflow: hidden;
}

.leistung-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leistung-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.leistung-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 4rem 0;
    background: var(--white);
}

.team-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.doctor-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.doctor-photo {
    width: 220px;
    height: 220px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 3rem;
}

.doctor-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.doctor-title {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.doctor-description {
    color: var(--gray);
    line-height: 1.6;
}

.doctor-vita {
    margin-top: 1rem;
}

.doctor-vita p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.doctor-vita ul {
    margin: 0 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

.doctor-vita li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    padding: 0.25rem 0;
}

.doctor-vita strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.assistants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.assistant-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.assistant-card:hover {
    transform: translateY(-3px);
}

.assistant-photo {
    width: 120px;
    height: 120px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2.5rem;
}

.assistant-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.assistant-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer .contact-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.footer .contact-details i {
    width: 20px;
    color: var(--light-blue);
}

.footer .availability {
    font-size: 0.9rem;
    color: var(--light-blue);
    margin-left: 1.5rem;
}

.footer .opening-hours {
    margin-top: 2rem;
}

.footer .opening-hours h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer .hours-grid {
    display: grid;
    gap: 0.5rem;
}

.footer .day-hours {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-form-container h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Page Content Styles */
.datenschutz-content,
.impressum-content {
    padding: 8rem 0 4rem;
    background: var(--white);
    min-height: 80vh;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.datenschutz-text,
.impressum-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.datenschutz-text h2,
.impressum-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 2rem 0 1rem 0;
}

.datenschutz-text h3,
.impressum-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 1.5rem 0 0.5rem 0;
}

.datenschutz-text p,
.impressum-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Remove conflicting styles for footer contact-info */
.footer .contact-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.footer .contact-info p {
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.footer .contact-details p {
    margin-bottom: 0.5rem;
}

/* Page-specific contact-info styles (not for footer) */
.datenschutz-content .contact-info,
.impressum-content .contact-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.datenschutz-content .contact-info p,
.impressum-content .contact-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.datenschutz-content .contact-details p,
.impressum-content .contact-details p {
    margin-bottom: 0.5rem;
}

.doctors-info {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.doctors-info p {
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

.close:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-center {
        order: 3;
        width: 100%;
    }
    
    .nav-menu {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-right {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .assistants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-cta {
        right: 1rem;
        bottom: 2rem;
        top: auto;
        transform: none;
    }
    
    .floating-cta .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .leistung-card,
    .doctor-card {
        padding: 1.5rem;
    }
    
    .assistants-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}
