* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    outline: none;
}

.logo:focus {
    outline: none;
    border: none;
}

.logo-icon {
    font-size: 28px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #4ecdc4;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 107, 107, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(78, 205, 196, 0.05) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.hero-text {
    text-align: center;
}

.hero-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 20px;
    padding: 3px;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
}

.hero-icon-inner {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #cccccc;
    text-align: center;
    flex-direction: column;
    gap: 10px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-certificates {
    margin-top: 40px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    padding: 3px;
    width: 300px;
    height: auto;
    border-radius: 17px;
    justify-self: center;
}

.about-image-inner {
    background: #1a1a1a;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #cccccc;
    border-radius: 17px;
}

.image-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 17px; /* Rounded corners for the image */
    object-fit: cover;
}

/* Vertragspakete Section */
.vertragspakete {
    padding: 100px 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
}

.vertragspakete-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.vertragspakete-image {
    max-width: 900px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vertragspakete-image:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
}

/* Mental Training Info Section */
.mental-training-info {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
}

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

.mental-training-content p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.pdf-download {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pdf-button {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 35px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
    max-width: 400px;
    width: 100%;
}

.pdf-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
    border-color: rgba(78, 205, 196, 0.5);
}

.pdf-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.pdf-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.pdf-title {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pdf-subtitle {
    font-size: 0.9rem;
    color: #cccccc;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
}

.contact-content {
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4ecdc4;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-icon {
        width: 250px;
        height: 250px;
    }

    .hero-icon-inner {
        font-size: 1rem;
    }

    .hero-icon-placeholder {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

        .services-grid {
            grid-template-columns: 1fr;
        }
    }

        /* For footer links only */
    a {
        color: white;
        text-decoration: none;
    }
    
    a:hover {
        color: white;
    }

    .impressum {
        padding-top: 100px; /* Adjust this value based on your header height */
    }

    .datenschutz {
        padding-top: 100px; /* Adjust this value based on your header height */
    }

    p {
        margin: 1em 0; /* Adds vertical spacing between paragraphs */
    }

    h1, h2, h3, h4, h5, h6 {
        margin-top: 20px; /* Adjust the value as needed */
    }

    /* Certificates Section */
    .about-certificates h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        text-align: center;
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .certificates {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .certificate-item {
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .certificate-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
    }

    .certificate-image {
        width: 100%;
        height: auto;
        max-width: 180px;
        border-radius: 10px;
        margin-bottom: 15px;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
    }

    .certificate-image:hover {
        border-color: rgba(78, 205, 196, 0.5);
        transform: scale(1.05);
    }

    .certificate-item p {
        color: #cccccc;
        font-weight: 500;
        margin: 0;
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        margin-top: 30px;
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Responsive adjustments for certificates */
    @media (max-width: 768px) {
        .about-content {
            grid-template-columns: 1fr;
            text-align: center;
            margin-bottom: 40px;
        }

        .about-image {
            margin: 0 auto;
            display: block;
            order: 2;
        }

        .about-text {
            order: 1;
        }

        .certificates {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .certificate-item {
            padding: 15px;
        }
        
        .certificate-image {
            max-width: 150px;
        }
        
        .mental-training-info {
            padding: 80px 0;
        }

        .pdf-button {
            flex-direction: column;
            text-align: center;
            padding: 20px;
            gap: 15px;
        }

        .pdf-text {
            align-items: center;
        }

        .pdf-icon {
            font-size: 2rem;
        }

        .vertragspakete {
            padding: 80px 0;
        }

        .vertragspakete-image {
            max-width: 100%;
            padding: 0 10px;
        }
    }

    /* Certificate Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 50px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(5px);
    }

    .modal-content {
        margin: auto;
        display: block;
        width: 90%;
        max-width: 800px;
        max-height: 80vh;
        object-fit: contain;
        border-radius: 10px;
        box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
        animation: modalZoom 0.3s ease;
    }

    @keyframes modalZoom {
        from {
            transform: scale(0.7);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .close {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #ffffff;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
        cursor: pointer;
        z-index: 10000;
    }

    .close:hover,
    .close:focus {
        color: #ff6b6b;
        text-decoration: none;
    }

    #caption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 700px;
        text-align: center;
        color: #cccccc;
        padding: 10px 0;
        font-size: 1.2rem;
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-top: 20px;
    }

    /* Mobile responsiveness for modal */
    @media (max-width: 768px) {
        .modal {
            padding-top: 20px;
        }
        
        .modal-content {
            width: 95%;
            max-height: 70vh;
        }
        
        .close {
            top: 10px;
            right: 20px;
            font-size: 30px;
        }
        
        #caption {
            font-size: 1rem;
            width: 90%;
        }
    }