/* Zusätzliche Stile für die optimierte Kontaktseite */

/* Animation beim Scrollen */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Verbesserte Kontakt-Elemente */
.contact-main-section {
    position: relative;
    z-index: 2;
    background-color: var(--dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(230, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--light);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--primary);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.5);
    transform: scale(1.1) rotate(5deg) !important;
}

.contact-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-text h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

/* Verbesserte Social Media Icons */
.social-media-box {
    background-color: var(--dark);
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 0);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--light);
    margin: 0 5px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    color: var(--light);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
}

/* Verbesserte Formulareingaben */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.2);
    color: var(--light);
}

/* Verbesserte Checkboxen */
.checkbox-container {
    padding-left: 35px;
    margin-bottom: 15px;
    display: block;
    position: relative;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.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: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Button mit Pulseffekt */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    position: relative;
    transition: all 0.3s ease;
    color: var(--light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
}

.btn-primary.pulse {
    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);
    }
}

/* Shake Animation für Fehler */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Fade-In Animation für Erfolgsmeldungen */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Verbesserte Direction Items */
.direction-item {
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.direction-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.direction-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.direction-item:hover::before {
    transform: scaleX(1);
}

.direction-item:hover .direction-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary);
}

.direction-icon {
    transition: all 0.4s ease;
    margin-bottom: 20px;
}

/* Parallax Effekt für Quicklinks */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--dark) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Quick Links */
.quick-link {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(230, 0, 0, 0) 0%, rgba(230, 0, 0, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-link:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.quick-link:hover::after {
    opacity: 1;
}

.quick-link:hover .quick-link-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary);
}

.quick-link-icon {
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

/* Alert Styles */
.alert {
    border-radius: 0;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 0);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #51cf66;
    border-left: 4px solid #28a745;
}

.alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Enhanced Map Container */
.map-container {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Image Credit für Hero-Bild */
.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;
}

/* Ambiente Gallery Section */
.ambiente-impressions-section {
    background-color: var(--secondary);
    padding: 80px 0;
}

.ambiente-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 576px) {
    .ambiente-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .ambiente-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--light);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item.hovered {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive Design Anpassungen */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form-container {
        padding: 30px 20px;
    }
    
    .directions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
}
.captcha-challenge {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(230, 0, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.captcha-challenge label {
    font-weight: 600;
    color: var(--primary);
}

.captcha-challenge input {
    max-width: 200px;
}