/* Additional Styles for Subpages */

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* About Content */
.about-content {
    padding: var(--spacing-xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
}

.about-text h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

/* Experience Section */
.experience {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.experience-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.exp-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.experience-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.experience-card p {
    color: var(--text-light);
}

/* Philosophy Section */
.philosophy {
    padding: var(--spacing-xl) 0;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.philosophy-card {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.philosophy-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Regional Section */
.regional {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.regional-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Page */
.services-intro {
    padding: var(--spacing-lg) 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto var(--spacing-md);
    flex-shrink: 0;
}

.service-card h3 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-md);
}

.service-card li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Process/Ablauf Page */
.process-intro {
    padding: var(--spacing-lg) 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.steps {
    padding: var(--spacing-xl) 0;
}

.step-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

/* Contact Page */
.contact-content {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    margin-top: 3px;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-required {
    color: var(--secondary-color);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* Gallery/References */
.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.testimonial {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Responsive Adjustments for Subpages */
@media (max-width: 968px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .exp-number {
        font-size: 3rem;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
    }
}