/* Classic Medical Style - GREEN/TEAL Color Scheme */

/* Import Team Styles */
@import url('team-styles.css');

/* ========================================
   ACCESSIBILITY STYLES (V28)
   ======================================== */

/* Skip-to-Content Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-teal);
    color: var(--background-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-green);
    outline-offset: 2px;
}

/* Enhanced Focus Indicators */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Green/Teal Medical Color Scheme - From Original Website */
    --primary-teal: #6fb5a5;
    --secondary-teal: #7cb8a8;
    --accent-green: #8bc34a;
    --dark-teal: #5a9e7e;
    --darker-teal: #4a8e6e;
    --mint-background: #c7e0cd;
    --light-mint: #e8f5f0;
    --text-dark: #2c3e50;
    --text-medium: #555555;
    --text-light: #777777;
    --background-white: #ffffff;
    --border-color: #d0e4d8;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--mint-background);
}

/* Header Styles - Compact */
header {
    background: var(--primary-teal);
    color: var(--background-white);
    padding: 1.25rem 2rem;
    border-bottom: 4px solid var(--accent-green);
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.header-title {
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    color: var(--background-white);
}

.header-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    font-style: italic;
    color: var(--background-white);
}

/* Quick Contact Bar with Logo */
.quick-contact-bar {
    background: var(--background-white);
    border-bottom: 3px solid var(--accent-green);
    padding: 1.5rem 2rem;
}

.quick-contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-logo {
    flex-shrink: 0;
}

.contact-logo img {
    height: 70px;
    width: auto;
}

.contact-items {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* Floating Medflex Button */
.medflex-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.medflex-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-green);
    color: var(--background-white);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.medflex-btn:hover {
    background: var(--dark-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.medflex-btn i {
    font-size: 1.3rem;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }

    .header-title {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
    }

    .quick-contact-bar {
        padding: 0.75rem 1rem;
    }

    .quick-contact-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-logo img {
        height: 45px;
    }

    .contact-items {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.2rem !important;
    }
    
    .contact-text {
        display: flex;
        flex-direction: row;
        gap: 0.3rem;
    }
    
    .contact-label {
        display: none;
    }
    
    .contact-value {
        font-size: 0.85rem;
    }

    .medflex-floating {
        bottom: 20px;
        right: 20px;
    }

    .medflex-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .medflex-btn-text {
        display: none;
    }
}

/* Navigation - Einfach und grün */
nav {
    background: var(--background-white);
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 2px 5px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    display: inline-block;
    color: var(--dark-teal);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-green);
}

nav a:visited {
    color: var(--dark-teal);
}

/* Kein Hamburger-Menü */
.menu-toggle {
    display: none !important;
}

/* Content - Mittig mit Logo-Ausrichtung */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto 2rem auto;
}

/* Kompakte Kontaktinformationen */
.contact-info-compact {
    max-width: 1000px;
    margin: 1rem auto 2rem auto;
    background: var(--light-mint);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
}

.contact-info-compact p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.contact-info-compact a {
    color: var(--dark-teal);
    text-decoration: none;
}

.contact-info-compact a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Kompakte Sprechzeiten */
.office-hours-compact {
    max-width: 1000px;
    margin: 1rem auto 2rem auto;
    background: var(--light-mint);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.office-hours-compact p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Services List - Mittig */
#leistungen {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.services-list {
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact Items - Grüne Links */
.contact-item {
    color: var(--dark-teal);
    text-decoration: none;
}

.contact-item:hover {
    color: var(--accent-green);
}

.contact-item:hover i {
    color: var(--accent-green);
}

.contact-item:visited {
    color: var(--dark-teal);
}

/* Überschriften - Korrekte Farben */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-teal);
    font-family: Georgia, 'Times New Roman', serif;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-green);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Section Title */
.section-title {
    text-align: center;
    color: var(--dark-teal);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

/* Mobile Navigation - Auch einfach */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem;
    }
    
    nav a {
        display: inline-block;
        margin: 0.25rem 0.1rem;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Text Styles - Korrektur */
p, li, .contact-text, .contact-info {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Service Item Text */
.service-item p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-medium);
}

/* Links generell */
a {
    color: var(--dark-teal);
    text-decoration: none;
}

a:hover {
    color: var(--accent-green);
}

a:visited {
    color: var(--dark-teal);
}

/* Footer Links */
footer a {
    color: var(--dark-teal);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-green);
}

footer a:visited {
    color: var(--dark-teal);
}
/* Footer - Wie Original mit drei Spalten */
footer {
    background: var(--primary-teal);
    color: var(--background-white);
    padding: 2rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    color: var(--background-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-section p,
.footer-section address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--background-white);
    opacity: 0.95;
}

.footer-section a {
    color: var(--background-white);
    text-decoration: none;
    opacity: 0.95;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-section a:visited {
    color: var(--background-white);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
    color: var(--background-white);
    opacity: 0.9;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Kontaktleiste - Text zweizeilig */
.contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Floating Button - Keine visited Farbe */
.medflex-btn:visited {
    background: var(--accent-green);
    color: var(--background-white);
}
/* 1. Floating Button - Direktlink zu Medflex */
/* HTML wird angepasst */

/* 2. Navigation - Großbuchstaben */
nav a {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. Kontaktleiste - Text neben Icons (schon so) */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 4. Logo klickbar - wird in HTML gemacht */

/* 5. Copyright 2025 + weiß */
.footer-bottom {
    color: var(--background-white);
    opacity: 1;
}

.footer-bottom p {
    color: var(--background-white);
}

/* 6. Grünen Streifen entfernen */
header {
    border-bottom: none !important;
}

/* 7. Google Maps iframe Styling */
.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    max-width: 728px;
    height: 380px;
    border: none;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}
/* Service Items - Bessere Bild-Text-Zuordnung */

/* Homepage Service Preview Items */
.service-item {
    display: flex;
    gap: 1.5rem; /* Vorher 2rem - Weniger Abstand zwischen Bild und Text */
    margin-bottom: 3rem; /* Vorher 2rem - Mehr Abstand zwischen Abschnitten */
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.service-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-right: 0.5rem; /* Zusätzlicher kleiner Abstand rechts vom Bild */
}

.service-text {
    flex: 1;
    padding-left: 0.5rem; /* Kleiner Abstand links vom Text */
}
/* Service Item Überschriften - kein top margin */
.service-item h3 {
    margin-top: 0;
}
.service-text h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--dark-teal);
}

.service-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Detail Pages Service Content */
.service-detail {
    margin-bottom: 3rem; /* Mehr Abstand zwischen Abschnitten */
}

.service-detail img {
    margin-bottom: 1rem; /* Weniger Abstand zwischen Bild und Text */
    margin-top: 0.5rem;
}

/* Ensure last item doesn't have excessive margin */
.service-item:last-child,
.service-detail:last-child {
    margin-bottom: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .service-item img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }
    
    .service-text {
        padding-left: 0;
    }
}
/* Praxis-Info-Box (für Urlaub, wichtige Mitteilungen) */
.praxis-info-box {
    background: #fff3cd;
    border-left: 5px solid var(--accent-green);
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.praxis-info-box h3 {
    color: var(--dark-teal);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.praxis-info-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.praxis-info-box p:last-child {
    margin-bottom: 0;
}

.praxis-info-box strong {
    color: var(--darker-teal);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .praxis-info-box {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 1rem;
    }
}

/* Klickbare Service-Bilder */
.service-item a img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item a:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Font Awesome Icon in Info-Box */
.praxis-info-box h3 i {
    margin-right: 0.5rem;
    color: var(--accent-green);
}

/* Google Maps Privacy Shield */
.map-privacy-shield {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f5 100%);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-shield-content {
    max-width: 500px;
}

.privacy-shield-content h4 {
    color: var(--dark-teal);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.privacy-shield-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.load-map-btn {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.load-map-btn:hover {
    background: var(--dark-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 195, 74, 0.4);
}

.load-map-btn i {
    margin-right: 0.5rem;
}

/* Medflex Privacy Shield */
.medflex-privacy-shield {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f5 100%);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-medflex-btn {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.load-medflex-btn:hover {
    background: var(--dark-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 195, 74, 0.4);
}

.load-medflex-btn i {
    margin-right: 0.5rem;
}

.privacy-shield-content a {
    color: var(--dark-teal);
    font-weight: 500;
    text-decoration: none;
}

.privacy-shield-content a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .map-privacy-shield {
        padding: 2rem 1.5rem;
        min-height: 300px;
    }
    
    .load-map-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   Listen-Styling (Impressum, Datenschutz)
   ======================================== */
.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style-position: outside;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}

.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style-position: outside;
}

.content-section ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}
