/* ==========================================
   Dr. Golshahi Praxis - Complete CSS
   ========================================== */

/* Reset & Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Alle Texte auf 18px - Universelle Regel */
body, p, span, div, li, td, th,
.hero-subtitle, .hero-description,
.section-subtitle, .service-description,
.contact-text, .about-text,
.footer-content p, .cookie-text p,
input, textarea, select, button,
.nav a, .contact-button, .btn-primary, .btn-secondary {
    font-size: 18px !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #f9f6f1;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    color: #2c2c2c;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo span {
    color: #b98c47;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #b98c47;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #b98c47;
}

.contact-button {
    background: #b98c47;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #a07a3f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 140, 71, 0.3);
}

/* HEADER + NAV: ausgelagert in css/header.css (P-09 / AS37, 20.05.2026).
   Das frühere AS32-Header-Duplikat (aesthetik/style.css + css/style.css)
   ist damit aufgelöst — der Header-Stil liegt jetzt an EINER Stelle.
   Die alten .header/.nav/.contact-button-Regeln oben BLEIBEN bestehen:
   impressum.html, datenschutz.html, augenheilkunde.html nutzen sie weiter. */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f9f6f1 0%, #ffffff 100%);
    /* AS37: kein padding-top mehr nötig — Header ist jetzt sticky (war fixed). */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-text h1 span {
    color: #b98c47;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b98c47;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #4a3b2a;
}

.hero-image {
    text-align: center;
}

.hero-image-real,
.hero-image-placeholder {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-image-placeholder {
    font-size: 10rem;
    color: #b98c47;
    background: #f4f1eb;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background: #b98c47;
    color: white;
}

.btn-primary:hover {
    background: #a07a3f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(185, 140, 71, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #b98c47;
    border: 2px solid #b98c47;
}

.btn-secondary:hover {
    background: #b98c47;
    color: white;
    transform: translateY(-2px);
}

/* Privatpraxis Info Section */
.privatpraxis-info {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f9f6f1 0%, #f4f1eb 100%);
    border-top: 1px solid #e8e4dc;
    border-bottom: 1px solid #e8e4dc;
}

.privatpraxis-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(185, 140, 71, 0.1);
    border: 1px solid rgba(185, 140, 71, 0.2);
}

.privatpraxis-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privatpraxis-content h3 {
    font-size: 1.8rem;
    color: #b98c47;
    margin-bottom: 1rem;
    font-weight: 500;
}

.privatpraxis-content p {
    color: #4a3b2a;
    line-height: 1.8;
    margin: 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: #f9f6f1;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* P-10: <picture>-Wrapper als Block, damit die 200px-Bannerhoehe greift */
.service-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-description {
    color: #4a3b2a;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f4f1eb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image-real,
.about-image-placeholder {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image-placeholder {
    font-size: 8rem;
    color: #b98c47;
    background: white;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.about-text {
    padding: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-details-with-qr {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-details {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-text h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #4a3b2a;
    margin: 0;
}

.qr-vcard-inline {
    flex-shrink: 0;
    text-align: center;
}

.qr-vcard-inline h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.qr-container {
    text-align: center;
}

.qr-container p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.opening-hours {
    background: #f4f1eb;
    padding: 2rem;
    border-radius: 15px;
}

.opening-hours h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hours-list {
    list-style: none;
    margin-bottom: 1rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form {
    background: #f9f6f1;
    padding: 3rem;
    border-radius: 20px;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b98c47;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.submit-btn {
    background: #b98c47;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #a07a3f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(185, 140, 71, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: #1f2e3d;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-content h4 {
    color: #b98c47;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-content p {
    color: #ecf0f1;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: #b98c47;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #c9a187;
}

/* Footer Social Media Sektion - Nur die letzte Spalte zentrieren */
.footer .footer-content > div:last-child {
    text-align: center;
}

.social-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    overflow: visible;
}

.social-qr .qr-code-footer {
    display: block;
    margin: 0 auto;
    max-width: 80px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.social-qr p {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    color: inherit;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: #b98c47;
    text-decoration: none;
    margin: 0 0.5rem;
}

/* QR-Code Hover-Effekt - 80% Vergrößerung */
.qr-code, 
.qr-code-footer {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 80px;
    height: auto;
}

.qr-code:hover, 
.qr-code-footer:hover {
    transform: scale(3.2); /* 80% Vergrößerung */
    z-index: 10;
}

.qr-container {
    overflow: visible;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text p {
    margin: 0;
    color: white;
}

.cookie-btn {
    background: #b98c47;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: #a07a3f;
}

/* QR Modal */
#qrModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

#qrModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    max-height: 90%;
}

#qrModalImage {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-details-with-qr {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer .footer-content > div {
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .social-qr .qr-code-footer {
        max-width: 70px;
    }
}

.footer .social-qr .qr-code-footer:hover {
    transform: scale(3.2) !important;
    z-index: 10 !important;

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
 *  P30: AggregateRating — dezentes Inline-Element
 *  Auf /ueber-uns/ (unter Subline) + index.html (Trust-Strip
 *  unter Hero). Beide Seiten via aside.p30-rating angesprochen.
 * ========================================================= */
.p30-rating {
    text-align: center;
    margin: 1rem 0 0;
    padding: 0.4rem 0 0;
    font-size: 0.95rem;
    color: var(--text-primary, #2c2c2c);
    background: transparent;
}
.p30-rating-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    color: var(--text-primary, #2c2c2c);
    text-decoration: none;
    transition: color 0.15s ease;
}
.p30-rating-link:hover { color: var(--gold-primary, #b98c47); }
.p30-rating .p30-stars {
    color: var(--gold-primary, #b98c47);
    font-size: 1.05rem;
    line-height: 1;
}
.p30-rating strong {
    color: var(--anthracite, #2c3e50);
    font-weight: 600;
}

/* Auf index.html Trust-Strip zwischen Hero und Services: etwas Abstand */
section.hero + .p30-rating,
section#home + .p30-rating { margin: 0.5rem 0 0.25rem; }
