/* Bereinigte Version des therapie.css */
/* Entferne die doppelten Deklarationen aus dem aktuellen CSS */

/* 
 * pages.css - Seitenspezifische Stile für Physio Nova 
 * Enthält seitenspezifische Stile, die nicht in den allgemeinen Komponenten enthalten sind
 */

/* Startseite */
/* Info-Karten auf der Startseite */
.info-cards {
    margin-top: -70px;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 10;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* Therapie-Seite */
/* Page Header Styling angepasst für die Therapie-Seite */
.therapy-page .page-header {
    background-color: var(--light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--text);
}

.therapy-page .page-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.therapy-page .page-header h1::after {
    content: "";
    display: block;
    height: 3px;
    width: 60%;
    background-color: var(--secondary);
    margin: var(--spacing-sm) auto 0;
}

.therapy-page .page-header p {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
}

/* Therapie Overview */
.therapy-overview {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.therapy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

/* Therapy-Karten in der Therapie-Übersicht */
.therapy-overview .therapy-card {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-lg);
    height: 100%;
}

/* Theraphie Übersichts-Elemente */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.category-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid var(--primary);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-icon {
    background-color: var(--secondary);
    color: var(--light);
    font-size: 3rem;
    padding: var(--spacing-md);
    text-align: center;
}

.category-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.category-card p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.category-card a {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.category-card a i {
    margin-left: 5px;
    transition: var(--transition);
}

.category-card a:hover i {
    transform: translateX(5px);
}

/* Theraphie Detail-Elemente - KOMPLETT NEU */
.therapy-item {
    margin-bottom: var(--spacing-xl);
    scroll-margin-top: 100px; /* Für Smooth Scrolling */
}

.therapy-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.therapy-icon {
    background-color: var(--primary);
    color: var(--light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.therapy-title {
    margin: 0;
    color: var(--primary);
    font-size: 2rem;
}

/* KOMPLETT NEU DEFINIERT - keine überlappenden Definitionen */
.therapy-content {
    display: table; /* Tabellen-basiertes Layout für maximale Kompatibilität */
    width: 100%;
    margin-bottom: var(--spacing-md);
    border-collapse: separate;
    border-spacing: var(--spacing-md);
}

.therapy-text {
    display: table-cell;
    width: 66%; /* 2/3 der Breite */
    vertical-align: top;
}

.therapy-image {
    display: table-cell;
    width: 33%; /* 1/3 der Breite */
    vertical-align: top;
}

.therapy-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 250px; /* Feste Höhenbegrenzung */
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px var(--shadow);
    object-fit: cover;
}

/* Alternierende Anordnung */
.therapy-item:nth-child(even) .therapy-content {
    direction: rtl; /* Einfache Umkehrung mit direction */
}

.therapy-item:nth-child(even) .therapy-content > * {
    direction: ltr; /* Normaler Text innerhalb des umgekehrten Containers */
}

.therapy-benefits {
    margin-top: var(--spacing-md);
}

.therapy-benefits h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.benefits-list li::before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.therapy-contact {
    margin-top: var(--spacing-md);
    background-color: var(--light-bg);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.therapy-contact h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

/* Verbesserter Button-Stil */
.therapy-contact .btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.therapy-contact .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
}

/* Insurance Grid */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-md);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.insurance-logo {
    background-color: var(--light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.insurance-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* Kontakt-Seite */
/* Kontakt-Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

/* Öffnungszeiten-Tabelle */
.opening-hours {
    margin-top: var(--spacing-lg);
}

.opening-hours h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px dashed var(--border);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: var(--spacing-sm) 0;
}

.hours-table td:first-child {
    font-weight: 600;
    width: 50%;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-light);
}

.highlight {
    color: var(--secondary);
    font-weight: 600;
}

/* Kontaktformular */
.contact-form {
    background-color: var(--light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--shadow);
    border-bottom: 3px solid var(--secondary);
}

.contact-form h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

/* Map Section */
.map-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    height: 500px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    color: var(--light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
}

.map-placeholder h3 {
    font-size: 1.8rem;
    color: var(--secondary-light);
    margin-bottom: var(--spacing-md);
}

.map-placeholder p {
    max-width: 600px;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.map-placeholder .btn-primary {
    background-color: var(--secondary);
    color: var(--light);
}

.map-placeholder .btn-primary:hover {
    background-color: var(--secondary-light);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Directions Section */
.directions-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* Team-Seite */
.team-section {
    padding: var(--spacing-xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* FAQ Section in der Therapie-Seite */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-dark);
    color: var(--light);
}

.faq-section .section-header h2 {
    color: var(--secondary-light);
}

.faq-section .section-header p {
    color: var(--light) !important;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-md);
}

.faq-question {
    font-size: 1.2rem;
    color: var(--secondary-light);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    font-size: 1rem;
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-left: var(--spacing-md);
    border-left: 2px solid var(--secondary);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: var(--light);
}

/* Responsive Design für die Seiten - NEU & VEREINFACHT */
@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .map-container {
        height: 400px;
    }
    
    .therapy-grid {
        grid-template-columns: 1fr;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tabellenlayout statt flexbox/grid für mobile Ansicht */
    .therapy-content {
        display: block; /* Tabellenlayout deaktivieren */
    }
    
    .therapy-text, 
    .therapy-image {
        display: block;
        width: 100%;
    }
    
    .therapy-image {
        margin-bottom: var(--spacing-md);
    }
    
    .therapy-image img {
        max-width: 100%;
        margin: 0 auto var(--spacing-md);
    }
    
    /* Rücksetzung der direction für alternierende Items */
    .therapy-item:nth-child(even) .therapy-content,
    .therapy-item:nth-child(even) .therapy-content > * {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .therapy-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .therapy-icon {
        margin-bottom: var(--spacing-sm);
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .direction-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .therapy-title {
        font-size: 1.5rem;
    }
}

/* Startseite ÜBER UNS  */

.about-section .about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.about-section .about-text {
    flex: 1;
}

.about-section .about-image {
    flex: 1;
    max-width: 45%;
}

.about-section .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Für mobile Ansicht */
@media (max-width: 768px) {
    .about-section .about-content {
        flex-direction: column;
    }
    
    .about-section .about-image {
        max-width: 100%;
        margin-top: 1.5rem;
    }
}