/**
 * Red Rabbit Club - Jobs Seite Optimierte Stile
 * 
 * Verbesserte Stile mit permanenten Effekten, optimiertem Layout
 * und Responsive Design
 */

/* ============== Allgemeine Animationen ============== */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--light);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

/* Jobs Intro Section */
.jobs-intro-section {
    background-color: var(--dark);
    padding: 80px 0;
}

.jobs-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .jobs-intro {
        grid-template-columns: 3fr 2fr;
        align-items: center;
    }
}

.jobs-intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.jobs-intro-text h2 span {
    color: var(--primary);
}

.jobs-intro-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.jobs-intro-image .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 4/3;
}

.jobs-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.jobs-intro-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(230, 0, 0, 0.8), transparent);
    padding: 30px 20px 15px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.jobs-intro-image:hover .image-overlay,
.jobs-intro-image.animated .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    background-color: var(--secondary);
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-item:hover::before,
.benefit-item.animated::before {
    opacity: 0.2;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(230, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.4s ease;
}

.benefit-item:hover .benefit-icon,
.benefit-item.animated .benefit-icon {
    transform: scale(1.1) rotate(10deg);
    background-color: rgba(230, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.3);
}

.benefit-item h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
}

.benefit-item p {
    position: relative;
    opacity: 0.8;
}

/* Jobs Section */
.jobs-section {
    background-color: var(--secondary);
    padding: 80px 0;
}

/* Jobs Filter */
.jobs-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--dark);
    border: 1px solid var(--primary);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-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: all 0.5s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* Glow Effect für Buttons */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--primary), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
    opacity: 0.6;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

/* Job Cards */
.jobs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .jobs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.job-card {
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid var(--primary);
}

.job-card:hover,
.job-card.animated {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.job-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.job-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.job-meta span i {
    color: var(--primary);
}

.job-date {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.job-body {
    padding: 25px;
}

.job-description {
    line-height: 1.6;
}

.job-details {
    margin-top: 25px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.job-details h4 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.job-requirements,
.job-benefits {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.job-requirements li,
.job-benefits li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.job-requirements li::before,
.job-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.job-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.job-contact a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.details-toggle {
    position: relative;
    overflow: hidden;
}

.details-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.details-toggle:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Pulse Effect für Buttons */
.pulse-effect {
    position: relative;
}

.pulse-effect.pulsing {
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
    }
}

/* Process Section */
.process-section {
    background-color: var(--dark);
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }
}

.process-step {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.process-step:hover::before,
.process-step.animated::before {
    opacity: 0.3;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.4s ease;
}

.process-step:hover .step-number,
.process-step.animated .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.5);
}

.step-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #fff;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Initiative Section */
.initiative-section {
    position: relative;
    background-position: center;
    background-size: cover;
    padding: 100px 0;
    color: var(--light);
    text-align: center;
}

.initiative-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.8) 100%);
}

.initiative-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(26, 26, 26, 0.7);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.initiative-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.initiative-content h2 span {
    color: var(--primary);
}

.initiative-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.initiative-content .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
}

/* VIP Gallery Section */
.vip-gallery-section {
    background-color: var(--secondary);
    padding: 80px 0;
}

.vip-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 576px) {
    .vip-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .vip-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img,
.gallery-item.animated img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 15px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item.animated .gallery-caption {
    transform: translateY(0);
}

/* Job Alerts Section */
.job-alerts-section {
    background-color: var(--dark);
    padding: 80px 0;
}

.job-alerts-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .job-alerts-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.job-alerts-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.job-alerts-text h2 span {
    color: var(--primary);
}

.job-alerts-text p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.job-alerts-form {
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.job-alerts-form .form-group {
    margin-bottom: 20px;
}

.job-alerts-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease;
}

.job-alerts-form input[type="email"]:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.2);
}

.form-check {
    margin-bottom: 20px;
}

.checkbox-container {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-response {
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .jobs-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .job-footer .btn {
        width: 100%;
    }
    
    .initiative-content {
        padding: 20px;
    }
    
    .initiative-content h2 {
        font-size: 2rem;
    }
    
    .job-alerts-form {
        padding: 20px;
    }
}