/* =========================================
   SEITEN-SPEZIFISCHE LAYOUTS
   - Index-Seite (Startseite)
   - Leistungen-Seite
   - Praxisinfo-Seite
   - Kontakt-Seite
   ========================================= */

/* --- Allgemeine Seitenabschnitte --- */
.intro { margin-bottom: 1.5rem; }

.leistungen { display: flex; gap: 20px; }
.leistungen div, .leistungen ul { flex: 1; background: #e8f5e9; padding: 20px; border-radius: 8px; }

/* --- Leistungen-Seite --- */
.leistungen-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
    position: relative;
}

.leistungen-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../bilder/hg-leistungen-naturheilkunde-1920x1080.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.17;
    z-index: -1;
}

.leistungen-left {
    flex: 1;
    line-height: 1.7;
}

.leistungen-left h2 { margin-top: 1.8rem; font-size: 1.8rem; margin-bottom: 0rem;}
.leistungen-left h2 + p { margin-top: 0; }
.leistungen-left ul { padding-left: 1.2rem; margin-top: 0.5rem; }

/* Rechtlicher Hinweis in spezieller Farbe */
.rechtlicher-hinweis {
    color: #590731 !important;
}

.leistungen-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.method-item {
    background: #f7f5f2;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.method-item h4 { margin: 10px 0 8px; font-size: 1.1rem; }
.method-item p { line-height: 1.7; margin: 0; }

/* --- Praxisinfo-Seite --- */
.praxisinfo-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
    position: relative;
}

.praxisinfo-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../bilder/hg-praxisinfo-papagei-1920x1080.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.17;
    z-index: -1;
}

.praxisinfo-left { flex: 1; line-height: 1.7; }
.praxisinfo-left h2 { margin-top: 1.8rem; font-size: 1.8rem; margin-bottom: 0rem;}
.praxisinfo-left h2 + p { margin-top: 0; }

.praxisinfo-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Über mich Seite: Wrapper & Foto-Placeholder --- */
.ueber-mich-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
    position: relative;
}

.ueber-mich-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../bilder/hg-uebermich-ratte-1920x1080.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.17;
    z-index: -1;
}

.ueber-mich-left { flex: 1; line-height: 1.7; }

.ueber-mich-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ueber-mich-photo {
    background: #f7f5f2;
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c4770;
    font-weight: 600;
    overflow: hidden; /* sorgt dafür, dass das Bild sauber zugeschnitten wird */
}

.ueber-mich-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Bild füllt die Box, ohne zu verzerren */
    border-radius: 8px;
}

@media (max-width: 700px) {
    .ueber-mich-photo {
        min-height: 200px; /* kleinerer Platzhalter auf Mobilgeräten */
    }
}

/* --- Index-Seite (Startseite) --- */
.index-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.index-left { flex: 1; line-height: 1.7; }
.index-left h2 { margin-top: 1.8rem; font-size: 1.8rem; margin-bottom: 0rem;}
.index-left h2 + p { margin-top: 0; }
.index-left ul { padding-left: 1.5rem; margin-top: 0.5rem; }

.index-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Kontakt-Seite --- */
.kontakt-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
    position: relative;
}

.kontakt-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../bilder/hg-kontakt-kaninchen-1920x1080.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.17;
    z-index: -1;
}

.kontakt-left { flex: 1; line-height: 1.7; }
.kontakt-left h2 { margin-top: 1.8rem; font-size: 1.8rem; margin-bottom: 0rem;}
.kontakt-left h2 + p { margin-top: 0; }
.kontakt-left h2:first-child { margin-top: 0; }
.kontakt-left ul { padding-left: 1.5rem; margin-top: 0.5rem; list-style: none; }
.kontakt-left ul li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 1rem; }
.kontakt-left a { color: #277453; font-weight: 600; text-decoration: none; }
.kontakt-left a:hover { color: #5c9d81ff; }

.contact-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.kontakt-right { flex: 1; }
/* --- In Progress Seite --- */
.in-progress-wrapper {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 2rem;
    text-align: center;
}

.in-progress-content {
    background: #f7f5f2;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.in-progress-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c4770;
}

.in-progress-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: #afd0c2ff;
    color: #0c2348ff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.back-link:hover {
    background: rgba(175,208,194,0.85);
}
/* --- Impressum Seite --- */
.impressum-wrapper {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.impressum-content {
    background: #f7f5f2;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: #2c4770;
}

.impressum-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c4770;
}

.impressum-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c4770;
}

.impressum-content p {
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.impressum-content ul {
    line-height: 1.7;
    padding-left: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.impressum-content ul li {
    margin-bottom: 0.8rem;
}

/* Entferne zusätzliche Abstände zwischen Elementen */
.impressum-content h2 + p {
    margin-top: 0;
}

.impressum-content p + p {
    margin-top: 0;
}

.impressum-content p + ul {
    margin-top: 0.5rem;
}

.impressum-content ul + p {
    margin-top: 0;
}

.impressum-content p strong {
    display: inline-block;
    min-width: 180px;
}

.impressum-content a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.impressum-content a:hover {
    color: #277453;
    text-decoration: underline;
}
