/* 
  style.css - Privatpraxis Website
  Design: Modern, hell, seriös, medizinisch
*/

:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --secondary-color: #f8f9fa;
    --accent-color: #17a2b8;
    --text-color: #333;
    --text-muted: #666;
    --bg-light: #ffffff;
    --bg-alt: #f4f7f9;
    --border-color: #e0e0e0;
    --max-width: 1200px;
    --container-padding: 0 20px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family), serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; position: relative; padding-bottom: 10px; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header & Nav */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
}

.praxis-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}


/* Hero Section */
.hero {
    padding: 50px 0 70px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/hero-bg.webp') center center / cover no-repeat;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-logo-wrapper {
    margin-bottom: 20px;
}

.hero-logo {
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.hero .specialty {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero .description {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.hero-contact-info {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.hero-contact-info a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

.hero-contact-info a:hover {
    color: var(--secondary-color);
}

/* Sections General */
section {
    padding: 40px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

/* Praxis Section */
.praxis-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.qualification-section {
    margin-top: 50px;
    text-align: center;
}

.qualification-header {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.qualification-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.qualification-images img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

/* Leistungen Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Ablauf Section */
#ablauf a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ablauf-info {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-note {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* Kontakt Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.1rem;
}

.maps-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    text-decoration: underline;
}

/* Map Container & Two-Click Solution */
.contact-map-container {
    background: #e9ecef;
    min-height: 400px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.map-overlay {
    padding: 30px;
    text-align: center;
    max-width: 400px;
    z-index: 10;
}

.map-overlay p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-color);
}

.map-privacy-note {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 25px !important;
}

.map-privacy-note a {
    text-decoration: underline;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-col p, .footer-col > a {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    display: block;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Legal Pages Styling */
.legal-content {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 { margin-bottom: 1.5rem; }
.legal-content h2 { margin: 1.5rem 0 0.75rem; }
.legal-content h3 { margin: 1.25rem 0 0.5rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin-bottom: 1rem; margin-left: 20px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title { font-size: 1.8rem; }

    .hero-logo {
        max-width: 90%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Menu - Simplified for no-JS focus */
@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    .btn-nav {
        width: 100%;
    }
}

/* Accessibility: Focus states */
a:focus, button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
