/**
 * Red Rabbit Club - Anfahrt Seite Zusätzliche Stile
 * 
 * Ergänzende und animierte Stile für die Anfahrtsseite
 * mit verbesserten Hinweisen zur Aufklappbarkeit
 */

/* Hero-Bereich */
.page-hero {
    position: relative;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

/* Location Container Animationen */
.location-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    transition: all 0.5s ease;
}

@media (min-width: 992px) {
    .location-container {
        grid-template-columns: 1fr 1fr;
    }
}

.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Richtungskarten Stile mit verbesserten Aufklapphinweisen */
.directions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .directions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.direction-card {
    background-color: var(--secondary);
    padding: 30px;
    transition: all 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
    position: relative;
    overflow: hidden;
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.direction-card:hover::before {
    opacity: 1;
}

.direction-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.direction-icon::after {
    content: '↓';
    position: absolute;
    font-size: 16px;
    color: var(--light);
    background-color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 30%;
    top: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.direction-card:hover .direction-icon::after {
    opacity: 1;
    transform: translateY(0);
}

.direction-icon:hover {
    transform: scale(1.1);
    color: var(--primary-light);
    animation: pulse 1.5s infinite;
}

.click-hint {
    font-size: 14px;
    color: var(--primary);
    font-weight: normal;
    display: inline-block;
    opacity: 0.7;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.direction-card:hover .click-hint {
    opacity: 1;
    transform: translateX(5px);
}

.direction-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 
        max-height 0.4s ease-out, 
        opacity 0.4s ease-out;
}

.direction-content h4 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 10px;
}

.direction-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.direction-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
}

.direction-card:hover {
    background-color: rgba(26, 26, 26, 0.9);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Pulsierender Effekt für die Direction-Icons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(230, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
    }
}

.directions-section .section-description strong {
    color: var(--primary);
    position: relative;
    padding: 3px 8px;
    background-color: rgba(230, 0, 0, 0.1);
    border-radius: 4px;
}

/* Map Container Stile */
.map-container {
    transition: all 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    display: block;
}

/* Adresse und Kontakt Stile */
.address-box,
.opening-hours-box {
    background-color: var(--secondary);
    padding: 25px;
    margin-bottom: 20px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
    transition: all 0.3s ease;
}

.address-box:hover,
.opening-hours-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 15px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label {
    font-weight: 600;
    color: var(--primary);
}

.opening-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.opening-hours-list .day {
    font-weight: 600;
}

/* FAQ Akkordeon Stile mit verbesserten Hinweisen */
.faq-item {
    background-color: var(--secondary);
    margin-bottom: 15px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
}

.faq-question:hover {
    background-color: rgba(230, 0, 0, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-question:hover::after {
    background-color: var(--primary);
    color: var(--light);
}

.faq-question.active {
    color: var(--primary);
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
    background-color: var(--primary);
    color: var(--light);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 
        max-height 0.4s ease-out, 
        opacity 0.4s ease-out,
        padding 0.4s ease-out;
}

.faq-answer p {
    margin-bottom: 20px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Zusätzliche FAQ Styles für bessere Animation */
.faq-question.active + .faq-answer {
    padding: 20px;
}

/* Contact Banner Stile */
.contact-banner {
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.8), 
        rgba(0, 0, 0, 0.6)
    ), url('../images/contact-banner-bg.jpg') center/cover no-repeat;
    text-align: center;
    padding: 80px 0;
}

.contact-banner .banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-banner h2 span {
    color: var(--primary);
}

.contact-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-banner .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-banner .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Gallery Grid für Ambiente-Bilder */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-size: 16px;
}

@media (max-width: 768px) {
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Responsives Design Anpassungen */
@media (max-width: 992px) {
    .direction-icon::after {
        opacity: 1;
        transform: translateY(0);
    }
    
    .click-hint {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .direction-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-question.active + .faq-answer {
        padding: 15px;
    }
}