/* Body und allgemeines */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #eee;
    overflow-x: hidden;
    padding-top: 70px;
    background-color: #121212;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Navigation Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    transition: all 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #FE0000;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.header-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header-nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: #FE0000;
    background: rgba(254, 0, 0, 0.1);
}


/* Desktop/Mobile Display Controls */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Desktop Services Layout */
.desktop-services {
    margin-top: 0;
    padding-top: 0;
    background: #000000;
    position: relative;
}

.desktop-services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(26, 26, 26, 0.3) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
    z-index: 5;
}

.service-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

/* Sanfte Übergänge zwischen Videos */
.service-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 4;
    pointer-events: none;
}

.service-section:last-child::before {
    display: none;
}

.service-section::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    z-index: 4;
    pointer-events: none;
}

.service-section:first-child::after {
    display: none;
}

.service-section:nth-child(1) { animation: fadeInUpSection 1s ease 0.1s forwards; }
.service-section:nth-child(2) { animation: fadeInUpSection 1s ease 0.2s forwards; }
.service-section:nth-child(3) { animation: fadeInUpSection 1s ease 0.3s forwards; }
.service-section:nth-child(4) { animation: fadeInUpSection 1s ease 0.4s forwards; }
.service-section:nth-child(5) { animation: fadeInUpSection 1s ease 0.5s forwards; }
.service-section:nth-child(6) { animation: fadeInUpSection 1s ease 0.6s forwards; }

/* Video Background */
.service-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.service-video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
    transition: all 0.5s ease;
}

.service-section:hover .service-video-background video {
    filter: brightness(0.7) contrast(1.2) saturate(1.3);
    transform: translate(-50%, -50%) scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(254, 0, 0, 0.15) 0%,
        rgba(18, 18, 18, 0.3) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
    transition: all 0.5s ease;
}

.service-section:hover .video-overlay {
    background: linear-gradient(
        135deg,
        rgba(254, 0, 0, 0.1) 0%,
        rgba(18, 18, 18, 0.25) 30%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

/* Text Overlay */
.service-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 80px;
    background: linear-gradient(
        90deg,
        rgba(18, 18, 18, 0.95) 0%,
        rgba(18, 18, 18, 0.85) 60%,
        transparent 100%
    );
    backdrop-filter: blur(2px);
}

.service-text-overlay.reverse {
    left: auto;
    right: 0;
    width: 55%;
    padding: 0 120px 0 80px;
    justify-content: flex-end;
    background: linear-gradient(
        270deg,
        rgba(18, 18, 18, 0.95) 0%,
        rgba(18, 18, 18, 0.85) 60%,
        transparent 100%
    );
}

/* Service Content Desktop */
.service-content-desktop {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.service-content-desktop::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #FE0000 0%, #ff4444 50%, #FE0000 100%);
    box-shadow: 0 0 20px rgba(254, 0, 0, 0.5);
}

.service-text-overlay.reverse .service-content-desktop::before {
    left: auto;
    right: -40px;
}

.service-content-desktop h2 {
    color: #FE0000;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(254, 0, 0, 0.3);
    position: relative;
}

.service-content-desktop h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #FE0000, #ff6666, #FE0000);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(254, 0, 0, 0.4);
}

.service-content-desktop p {
    color: #ddd;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
    text-align: justify;
}

.service-features-desktop {
    list-style: none;
    margin-bottom: 50px;
    padding: 0;
}

.service-features-desktop li {
    color: #eee;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-features-desktop li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    top: 0;
    color: #FE0000;
    font-size: 1.3rem;
    text-shadow: 0 0 8px rgba(254, 0, 0, 0.6);
}

.service-features-desktop li:hover {
    color: #FE0000;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.details-btn-desktop {
    background: linear-gradient(45deg, #FE0000, #ff3333);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(254, 0, 0, 0.3);
}

.details-btn-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.details-btn-desktop:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(254, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff1a1a, #ff4d4d);
}

.details-btn-desktop:hover::before {
    left: 100%;
}

.details-btn-desktop:active {
    transform: translateY(-1px);
}

@keyframes fadeInUpSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    opacity: 1;
    transition: all 0.5s ease;
}

.scroll-down-arrow.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounceArrow 2s ease-in-out infinite;
}

.arrow-text {
    color: #FE0000;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 4px;
}

.arrow-icon {
    color: #FE0000;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 18, 0.8);
    border: 2px solid #FE0000;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(254, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.arrow-icon svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.arrow-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(
        180deg,
        #FE0000 0%,
        rgba(254, 0, 0, 0.5) 50%,
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(254, 0, 0, 0.4);
}

.scroll-down-arrow:hover .arrow-container {
    animation-play-state: paused;
    transform: translateY(-5px);
}

.scroll-down-arrow:hover .arrow-icon {
    background: rgba(254, 0, 0, 0.1);
    border-color: #ff4444;
    box-shadow: 0 6px 25px rgba(254, 0, 0, 0.5);
    transform: scale(1.1);
}

.scroll-down-arrow:hover .arrow-text {
    color: #ff4444;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Service Container (Mobile) */
.service-container {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #eee;
    cursor: default;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    
    /* Animation */
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FE0000, #ff4444, #FE0000);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(254, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(254, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h2 {
    color: #FE0000;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.service-features span {
    background: rgba(254, 0, 0, 0.1);
    color: #FE0000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(254, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.service-features span:hover {
    background: rgba(254, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 100px 20px;
    margin-top: 80px;
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 3px solid rgba(254, 0, 0, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    color: #FE0000;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-container p {
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

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

.cta-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 200px;
    font-family: inherit;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #FE0000, #ff3333);
    color: white;
    border: 2px solid transparent;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254, 0, 0, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: #FE0000;
    border: 2px solid #FE0000;
}

.cta-btn.secondary:hover {
    background: #FE0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254, 0, 0, 0.3);
}

/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Desktop and Tablet adjustments */
@media (max-width: 1400px) {
    .service-text-overlay {
        padding: 0 60px;
    }
    
    .service-content-desktop {
        max-width: 450px;
    }
    
    .service-content-desktop h2 {
        font-size: 3.4rem;
    }
}

@media (max-width: 1200px) {
    .service-text-overlay {
        padding: 0 50px;
    }
    
    .service-content-desktop {
        max-width: 400px;
    }
    
    .service-content-desktop h2 {
        font-size: 3rem;
    }
    
    .service-content-desktop p {
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .service-section {
        min-height: 80vh;
    }
    
    .service-text-overlay {
        width: 100%;
        left: 0;
        right: 0;
        padding: 80px 50px;
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(18, 18, 18, 0.95) 70%,
            rgba(18, 18, 18, 0.98) 100%
        );
        justify-content: center;
        align-items: flex-end;
    }
    
    .service-text-overlay.reverse {
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(18, 18, 18, 0.95) 70%,
            rgba(18, 18, 18, 0.98) 100%
        );
    }
    
    .service-content-desktop {
        max-width: 600px;
        text-align: center;
    }
    
    .service-content-desktop::before {
        display: none;
    }
    
    .service-content-desktop h2 {
        font-size: 2.8rem;
    }
    
    .service-content-desktop h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-content-desktop p {
        text-align: center;
    }
    
    .details-btn-desktop {
        align-self: center;
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Arrow adjustments for tablet */
    .scroll-down-arrow {
        bottom: 30px;
    }
    
    .arrow-text {
        font-size: 0.8rem;
    }
    
    .arrow-icon {
        width: 28px;
        height: 28px;
    }
    
    .arrow-line {
        height: 25px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Hide desktop, show mobile */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }

    .header-container {
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px 0;
        border-top: 1px solid rgba(254, 0, 0, 0.3);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .header-nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
    }

    .header-nav li {
        padding: 0 20px;
    }

    .header-nav a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .header-nav a:hover {
        padding-left: 10px;
        background: rgba(254, 0, 0, 0.1);
    }


    .service-container {
        grid-template-columns: 1fr;
        margin-top: 20px;
        display: grid;
    }

    .service-card {
        padding: 25px 20px 70px 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .cta-container h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    /* Modal Mobile Optimizations */
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
    }

    .modal-video video {
        height: 200px;
    }

    .modal-text {
        padding: 20px;
    }

    .modal-text h3 {
        font-size: 1.5rem;
    }

    .modal-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {

    .service-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }

    .service-card {
        padding: 20px 15px 70px 15px;
    }

    .service-card h2 {
        font-size: 1.4rem;
    }

    .cta-section {
        padding: 60px 15px;
    }

    .cta-container h2 {
        font-size: 1.8rem;
    }

    .cta-container p {
        font-size: 1rem;
    }

    /* Kleinere Modal für sehr kleine Bildschirme */
    .modal-content {
        width: 98%;
        margin: 5px auto;
    }

    .modal-video video {
        height: 180px;
    }

    .modal-text {
        padding: 15px;
    }

    .modal-text h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .modal-text p {
        font-size: 0.95rem;
    }

    .details-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Details Button Styling */
.details-btn {
    background: linear-gradient(45deg, #FE0000, #ff3333);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 20px;
    right: 20px;
    overflow: hidden;
}

.details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 0, 0, 0.4);
    background: linear-gradient(45deg, #ff1a1a, #ff4d4d);
}

.details-btn:hover::before {
    left: 100%;
}

.details-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(254, 0, 0, 0.3);
}

/* Service Card Layout anpassen für Button */
.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 70px;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(254, 0, 0, 0.3);
    position: relative;
    animation: slideInUp 0.4s ease;
}

.modal-close {
    color: #FE0000;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-close:hover {
    background: rgba(254, 0, 0, 0.2);
    border-color: #FE0000;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-video {
    flex-shrink: 0;
    background: #000;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
}

.modal-video video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.modal-text {
    padding: 30px;
    color: #eee;
    flex-grow: 1;
    overflow-y: auto;
}

.modal-text h3 {
    color: #FE0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-text p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Modal Animationen */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .modal-content {
        animation: none;
    }
    
    .modal {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus States */
.service-card:focus,
.cta-btn:focus,
.details-btn:focus {
    outline: 2px solid #FE0000;
    outline-offset: 2px;
}

.modal-close:focus {
    outline: 2px solid #FE0000;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
        padding-top: 0;
    }

    header {
        display: none;
    }

    .background-wrapper {
        display: none;
    }

    .service-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .service-card h2 {
        color: black;
    }

    .service-card p {
        color: black;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #FE0000;
        background: #000;
    }
    
    .service-card p {
        color: #fff;
    }
}