/**
 * Kontakt Page Styles
 * DKSB Euskirchen - Clean Two-Column Layout
 */

/* ========================================
   Two-Column Layout
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0 3rem;
}

.contact-layout h2 {
    color: #0064ad;
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0064ad;
}

/* ========================================
   Linke Spalte: Kontaktdaten
   ======================================== */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #0064ad;
}

.contact-card h3 {
    margin: 0;
    color: #0064ad;
    font-size: 1.25rem;
}

.contact-card__subtitle {
    margin: 0.25rem 0 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-address {
    font-style: normal;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #374151;
    line-height: 1.5;
}

.contact-row svg {
    flex-shrink: 0;
    color: #0064ad;
    margin-top: 2px;
}

.contact-row a {
    color: #0064ad;
    text-decoration: none;
}

.contact-row a:hover {
    text-decoration: underline;
}

.contact-row--whatsapp svg {
    color: #25D366;
}

.contact-row--whatsapp a {
    color: #25D366;
}

/* Öffnungszeiten */
.opening-hours {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.opening-hours h4 {
    margin: 0 0 1rem 0;
    color: #0064ad;
    font-size: 1rem;
}

.opening-hours table {
    width: 100%;
    border-collapse: collapse;
}

.opening-hours td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.opening-hours td:last-child {
    text-align: right;
    font-weight: 500;
}

.opening-hours tr:last-child td {
    border-bottom: none;
}

.opening-hours .note {
    margin: 1rem 0 0 0;
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* CTA */
.contact-cta {
    background: linear-gradient(135deg, #0064ad 0%, #004d85 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.contact-cta p {
    margin: 0 0 1rem 0;
}

.contact-cta .btn {
    background: white;
    color: #0064ad;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Rechte Spalte: Karte
   ======================================== */
.contact-map-column {
    display: flex;
    flex-direction: column;
}

.map-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#contact-map {
    flex: 1;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0064ad;
    font-size: 0.9rem;
    text-decoration: none;
}

.map-link:hover {
    text-decoration: underline;
}

/* ========================================
   Einrichtungen
   ======================================== */
.facilities-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.facilities-section h2 {
    color: #0064ad;
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
}

.facilities-section > p {
    color: #4b5563;
    margin: 0 0 1.5rem 0;
    max-width: 800px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.facility-card {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.facility-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #0064ad;
}

.facility-card h4 {
    margin: 0 0 0.25rem 0;
    color: #0064ad;
    font-size: 1rem;
}

.facility-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}
