/**
 * SERVICES PAGE SPECIFIC STYLES
 * Styles specific to service/treatment pages (Leistungsseiten)
 */

/* =================================================================
   TYPOGRAPHY - Modern Typography for Service Pages
   ================================================================= */

/* Main Heading (H1) */
.about .section-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* Subheadings (H2) */
.about .section-title h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

/* Small Title (H4) */
.about .section-title .sub-title,
.about .section-title h4 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

/* Lead Paragraphs */
.about .section-title p.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
    color: #2d2d2d;
    margin-bottom: 1.5rem;
}

/* Regular Paragraphs */
.about .section-title p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4a4a4a;
}

/* Lists */
.about .section-title ul {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.about .section-title ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.about .section-title ul li strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* Responsive Typography */
@media (max-width: 991px) {
    .about .section-title h1 {
        font-size: 2.5rem;
    }

    .about .section-title h2 {
        font-size: 1.75rem;
    }

    .about .section-title p.lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .about .section-title h1 {
        font-size: 2rem;
    }

    .about .section-title h2 {
        font-size: 1.5rem;
    }
}

/* =================================================================
   COLORS - Modern Color Palette for Service Pages
   ================================================================= */

/* Main Content Background */
.about.bg-light {
    background: #FFFFFF;
    /* Clean white background - no gradient */
}

/* Content Section */
.about .section-title {
    color: #1a1a1a;
}

/* Primary Color Accents - Keep Brand Color */
.about .section-title .sub-style {
    color: var(--bs-primary);
    position: relative;
}

.about .section-title .sub-style::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, transparent 100%);
}

/* Button Styling */
.about .section-title .btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #ffffff;
    transition: all 0.3s ease;
}

.about .section-title .btn-primary:hover {
    background: #006666;
    border-color: #006666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

/* Link Colors */
.about .section-title a:not(.btn) {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about .section-title a:not(.btn):hover {
    color: #006666;
    text-decoration: underline;
}

/* Sidebar Image Container */
.about .about-img {
    position: relative;
}

.about .about-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Experience Badge */
.about .about-experience {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #006666 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 128, 128, 0.25);
}

/* Breadcrumb Modern Colors */
.bg-breadcrumb {
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

/* =================================================================
   SPACING & LAYOUT - Modern Spacing for Service Pages
   ================================================================= */

/* Main Content Container */
.about.bg-light {
    padding: 80px 0;
}

/* Content Section Spacing */
.about .container {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Section Title Spacing */
.about .section-title {
    margin-bottom: 2rem;
}

/* Sub-title Spacing */
.about .section-title .sub-style {
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

/* Heading Spacing */
.about .section-title h1 {
    margin-bottom: 2rem;
}

.about .section-title h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Paragraph Spacing */
.about .section-title p {
    margin-bottom: 1.5rem;
}

.about .section-title p:last-child {
    margin-bottom: 0;
}

/* List Spacing */
.about .section-title ul {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.about .section-title ul li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Button Spacing */
.about .section-title .btn {
    margin-top: 2rem;
    padding: 12px 32px;
}

/* Image Container Spacing */
.about .about-img {
    padding-bottom: 3rem;
    padding-left: 3rem;
}

/* Sections Spacing */
.about .section-title.text-start.mt-5 {
    margin-top: 4rem !important;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 128, 128, 0.1);
}

/* Responsive Spacing */
@media (max-width: 991px) {
    .about.bg-light {
        padding: 60px 0;
    }

    .about .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .about .about-img {
        padding-bottom: 2rem;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .about .section-title h1 {
        margin-bottom: 1.5rem;
    }

    .about .section-title h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .about.bg-light {
        padding: 40px 0;
    }

    .about .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .about .section-title .btn {
        width: 100%;
        padding: 12px 24px;
    }
}

/* =================================================================
   SHADOWS & EFFECTS - Modern Visual Effects for Service Pages
   ================================================================= */

/* Image Container Shadow & Effects */
.about .about-img img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about .about-img:hover img {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Experience Badge Enhanced */
.about .about-experience {
    transition: all 0.3s ease;
}

.about .about-img:hover .about-experience {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 128, 128, 0.35);
}

/* Content Card Effect */
.about .section-title {
    background: rgba(255, 255, 255, 0.6);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.about .section-title:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Button Advanced Effects */
.about .section-title .btn-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.25);
}

.about .section-title .btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.about .section-title .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Headings with subtle underline effect */
.about .section-title h2 {
    position: relative;
    padding-bottom: 0.75rem;
}

.about .section-title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, transparent 100%);
    border-radius: 2px;
}

/* List Items with hover effect */
.about .section-title ul li {
    position: relative;
    transition: all 0.2s ease;
}

.about .section-title ul li::before {
    content: "→";
    position: absolute;
    left: -1.5rem;
    color: var(--bs-primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.about .section-title ul li:hover {
    padding-left: 1rem;
    color: #1a1a1a;
}

.about .section-title ul li:hover::before {
    opacity: 1;
    left: -1rem;
}

/* Breadcrumb Enhanced Shadow */
.bg-breadcrumb {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bg-breadcrumb h3 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Smooth Scroll Animations */
.about .col-lg-5,
.about .col-lg-7 {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Links with underline animation */
.about .section-title a:not(.btn) {
    position: relative;
    display: inline-block;
}

.about .section-title a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: width 0.3s ease;
}

.about .section-title a:not(.btn):hover::after {
    width: 100%;
}

/* Section Divider Effect */
.about .section-title.text-start.mt-5 {
    position: relative;
}

.about .section-title.text-start.mt-5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, transparent 100%);
    border-radius: 2px;
}

/* Responsive Effects */
@media (max-width: 991px) {
    .about .section-title {
        padding: 2rem;
    }

    .about .about-img:hover img {
        transform: translateY(-4px);
    }
}

@media (max-width: 575px) {
    .about .section-title {
        padding: 1.5rem;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.95);
    }

    /* Disable hover effects on mobile */
    .about .section-title:hover {
        transform: none;
    }

    .about .about-img:hover img {
        transform: none;
    }
}

/* Contact Section on Service Pages */
.contact .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.contact .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: var(--bs-light);
}

/* Service Page Appointment Section */
.appointment .appointment-form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.appointment .appointment-form .btn.btn-primary:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

/* Imprint Link Styling */
#imprint.a {
    color: var(--primary-color) !important;
}
