/**
 * CSS für die Kontakt-Seite
 */

/* Kontakt-Intro */
.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.contact-intro h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.contact-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--silver-color);
}

/* Kontakt-Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 80px;
}

.contact-form-container {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-container h3 {
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-form-container h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Kontakt-Formular */
.contact-form {
    margin-top: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--light-text);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
}

.form-check input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    font-size: 14px;
    line-height: 1.4;
}

.form-actions {
    margin-top: 30px;
}

.form-actions .btn {
    padding: 15px 40px;
    font-size: 16px;
}

.form-notice {
    margin-top: 10px;
    font-size: 14px;
    color: var(--silver-color);
    font-style: italic;
}

/* Kontaktinformationen */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.info-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.info-box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-box ul li:last-child {
    margin-bottom: 0;
}

.info-box ul li i {
    width: 30px;
    color: var(--accent-color);
    font-size: 18px;
    margin-right: 15px;
    margin-top: 3px;
    transition: transform 0.3s ease;
}

.info-box ul li:hover i {
    transform: scale(1.2);
}

.info-box ul li div {
    flex: 1;
}

.info-box ul li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--light-text);
}

.info-box ul li p {
    margin: 0;
    color: var(--silver-color);
}

.info-box ul li a {
    color: var(--light-text);
    transition: all 0.3s ease;
}

.info-box ul li a:hover {
    color: var(--accent-color);
}

/* Öffnungszeiten */
.opening-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.opening-hours li:last-child {
    margin-bottom: 0;
}

.opening-hours .day {
    color: var(--light-text);
    font-weight: 500;
}

.opening-hours .hours {
    color: var(--silver-color);
}

/* Social Media Links */
.social-box {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.facebook:hover {
    background-color: #3b5998;
    color: #fff;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: #fff;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
    color: #fff;
}

/* Karte & Anfahrt */
.map-section {
    margin-bottom: 80px;
}

.map-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.map-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Verbesserte Map-Container Styles */
.map-container {
    height: 400px;
    margin-bottom: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-container:hover img {
    transform: scale(1.02);
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--accent-color);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* OpenStreetMap spezifische Styles */
.custom-map-marker {
    background: none;
    border: none;
}

.custom-map-marker i {
    color: var(--accent-color);
    font-size: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-content-wrapper {
    background-color: rgba(10, 10, 10, 0.9);
    color: var(--light-text);
    border: 1px solid var(--accent-color);
}

.leaflet-popup-tip {
    background-color: var(--accent-color);
}

.leaflet-popup-content {
    margin: 15px;
    line-height: 1.5;
}

/* Anfahrtsbeschreibung */
.directions h3 {
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.directions h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.directions-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Verbesserte Richtungsangaben */
.direction-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.direction-item i {
    font-size: 28px;
    color: var(--accent-color);
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.direction-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--light-text);
}

.direction-item p {
    color: var(--silver-color);
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.7;
}

.direction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.direction-item:hover i {
    transform: scale(1.2);
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(10, 10, 10, 0.8);
    color: var(--light-text);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border: 1px solid var(--accent-color);
}

.map-container:hover .map-tooltip {
    opacity: 1;
}

/* Erfolgsmeldung nach Formularversand */
.success-message {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.success-message h3 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--light-text);
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
        margin-bottom: 30px;
    }
    
    .directions-content {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .directions-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
    
    .info-box {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}