/* Leistungen Page Styles */

/* Hero Section */
.leistungen-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.leistungen-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-line1, .hero-line2 {
    display: block;
}

.highlight {
    color: #2B9184;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2B9184, #4CAF50);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Leistungen Introduction Section */
.leistungen-intro {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.leistungen-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/hintergrund_muster.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.leistungen-intro .container {
    position: relative;
    z-index: 2;
}

.leistungen-intro .intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.leistungen-intro .intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.leistungen-intro .intro-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2B9184, #4CAF50);
    border-radius: 2px;
}

.leistungen-intro .intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
}

.leistungen-intro .intro-text p {
    margin-bottom: 1rem;
}

.leistungen-intro .intro-text p:last-child {
    margin-bottom: 0;
}

/* Leistungen Section */
.leistungen-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Leistung Cards */
.leistung-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Clickable Leistung Cards */
.leistung-card.clickable {
    cursor: pointer;
}

.leistung-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.leistung-link:hover {
    text-decoration: none;
    color: inherit;
}

.leistung-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.leistung-image {
    height: 250px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.leistung-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.placeholder-text {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.leistung-content {
    padding: 2rem;
}

.leistung-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
}

.leistung-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2B9184, #4CAF50);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.leistung-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.leistung-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leistung-features li {
    color: #555;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.leistung-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2B9184;
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2B9184 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-primary {
    background: white;
    color: #2B9184;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2B9184;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 80px 0 30px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section.logo-section {
    grid-column: 1;
}

.footer-section h4 {
    color: #2B9184;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Logo Section Styles */
.footer-logo-container {
    margin-bottom: 25px;
}

.footer-logo-img {
    height: auto;
    width: 300px;
    max-height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
}

.contact-intro {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon-img {
    width: 43px;
    height: 43px;
    transition: all 0.3s ease;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #2B9184;
}

.footer-links li:not(:has(a)) {
    color: #cccccc;
    font-size: 0.95rem;
}

/* Contact Info */
.contact-info p {
    color: #cccccc;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2B9184;
}

.footer-copyright {
    color: #999;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2B9184 0%, #1F7A6F 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: #2B9184;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary {
    background: #1F7A6F;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #1F7A6F;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .leistungen-intro {
        padding: 50px 0 30px;
    }
    
    .leistungen-intro .intro-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .leistungen-intro .intro-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .leistung-card {
        margin: 0 0.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section.logo-section {
        grid-column: 1;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .leistungen-intro {
        padding: 40px 0 25px;
    }
    
    .leistungen-intro .intro-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .leistungen-intro .intro-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .leistungen-hero {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .leistungen-section {
        padding: 50px 0;
    }
    
    .leistung-content {
        padding: 1.2rem;
    }
    
    .leistung-image {
        height: 180px;
    }
    
    .leistungen-grid {
        gap: 1rem;
    }
    
    .leistung-card {
        margin: 0 0.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .cta-section {
        padding: 50px 0;
    }
    
    .footer {
        padding: 50px 0 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .footer-legal {
        gap: 15px;
        flex-wrap: wrap;
    }
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leistung-card {
    animation: fadeInUp 0.6s ease forwards;
}

.leistung-card:nth-child(1) { animation-delay: 0.1s; }
.leistung-card:nth-child(2) { animation-delay: 0.2s; }
.leistung-card:nth-child(3) { animation-delay: 0.3s; }
.leistung-card:nth-child(4) { animation-delay: 0.4s; }
.leistung-card:nth-child(5) { animation-delay: 0.5s; }
.leistung-card:nth-child(6) { animation-delay: 0.6s; }
.leistung-card:nth-child(7) { animation-delay: 0.7s; }
.leistung-card:nth-child(8) { animation-delay: 0.8s; }

/* Hover Effects */
.leistung-card:hover .leistung-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.leistung-card:hover .leistung-img {
    transform: scale(1.1);
}

.leistung-card:hover .leistung-title::after {
    width: 60px;
    transition: width 0.3s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .leistung-card {
        animation: none;
    }
    
    .leistung-card:hover {
        transform: none;
    }
}
