/**
 * Kontakt page — card grid + contact form.
 * Loaded only on the Kontakt page via marketing.blade.php.
 */

/* ── Page shell ──────────────────────────────────────────────────────── */

.gsts-page-kontakt .gsts-contact-title {
    font-weight: 600;
}

.gsts-page-kontakt .gsts-contact-lead {
    max-width: 48rem;
}

/* ── Card grid ───────────────────────────────────────────────────────── */

.gsts-page-kontakt .gsts-contact-cards {
    --gsts-card-minh: 12rem;
}

.gsts-page-kontakt .gsts-contact-card {
    display: flex;
    flex-direction: column;
}

/* ── Unified info-card layout (used by all four cards) ───────────────── */

.gsts-page-kontakt .gsts-contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1 1 auto;
}

/* Small icon tile at the top of each card */
.gsts-page-kontakt .gsts-contact-info-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: #495057;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Uppercase card label */
.gsts-page-kontakt .gsts-contact-info-card__title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-secondary-color, #6c757d);
    margin: 0;
}

/* Thin horizontal rule between card sections */
.gsts-page-kontakt .gsts-contact-section-sep {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin: 0.2rem 0;
}

/* Small uppercase section subtitle (Parking, Email) */
.gsts-page-kontakt .gsts-contact-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color, #6c757d);
    margin: 0;
}

/* ── Address card ────────────────────────────────────────────────────── */

.gsts-page-kontakt .gsts-contact-address-main {
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--bs-body-color, #212529);
}

/* Parking list */
.gsts-page-kontakt .gsts-contact-parking-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.gsts-page-kontakt .gsts-contact-parking-item {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

/* P1 / P2 pill badge */
.gsts-page-kontakt .gsts-contact-parking-badge {
    flex: 0 0 auto;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 0.22rem 0.45rem;
    border-radius: 0.3rem;
    background: rgba(0, 0, 0, 0.07);
    color: #495057;
}

.gsts-page-kontakt .gsts-contact-parking-text {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--bs-body-color, #212529);
}

/* ── Opening-hours card ──────────────────────────────────────────────── */

.gsts-page-kontakt .gsts-contact-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    line-height: 1.5;
}

.gsts-page-kontakt .gsts-contact-hours-table tr + tr td {
    padding-top: 0.3rem;
}

.gsts-page-kontakt .gsts-contact-hours-day {
    color: var(--bs-body-color, #212529);
    padding-right: 1rem;
    white-space: nowrap;
    vertical-align: top;
}

.gsts-page-kontakt .gsts-contact-hours-time {
    color: var(--bs-secondary-color, #6c757d);
    text-align: right;
    white-space: nowrap;
    vertical-align: top;
}

/* Fallback if hours couldn't be parsed into rows */
.gsts-page-kontakt .gsts-contact-hours-raw {
    font-size: 0.88rem;
    line-height: 1.55;
    white-space: pre-wrap;
    color: var(--bs-body-color, #212529);
}

/* ── Phone card ──────────────────────────────────────────────────────── */

/* Prominent clickable phone number */
.gsts-page-kontakt .gsts-contact-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.gsts-page-kontakt .gsts-contact-phone-link:hover {
    text-decoration: underline;
}

.gsts-page-kontakt .gsts-contact-phone-link__icon {
    font-size: 0.9rem;
    color: var(--bs-secondary-color, #6c757d);
}

.gsts-page-kontakt .gsts-contact-phone-link__number {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--bs-body-color, #212529);
}

.gsts-page-kontakt .gsts-contact-email-link {
    font-size: 0.88rem;
    word-break: break-all;
}

/* ── Social-media card ───────────────────────────────────────────────── */

.gsts-page-kontakt .gsts-contact-social-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
}

.gsts-page-kontakt .gsts-contact-social-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

/* Platform icon circle */
.gsts-page-kontakt .gsts-contact-social-icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.06);
    color: #495057;
    margin-top: 0.05rem;
}

.gsts-page-kontakt .gsts-contact-social-icon--ig {
    background: rgba(193, 53, 132, 0.1);
    color: #c13584;
}

.gsts-page-kontakt .gsts-contact-social-icon--fb {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

/* Platform label + handle stacked */
.gsts-page-kontakt .gsts-contact-social-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.gsts-page-kontakt .gsts-contact-social-platform {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color, #6c757d);
    line-height: 1.2;
}

.gsts-page-kontakt .gsts-contact-social-handle {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--bs-body-color, #212529);
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: break-word;
}

.gsts-page-kontakt a.gsts-contact-social-handle:hover {
    text-decoration: underline;
}

.gsts-page-kontakt .gsts-contact-social-handle--plain {
    color: var(--bs-secondary-color, #6c757d);
}

/* ── Form card ───────────────────────────────────────────────────────── */

.gsts-page-kontakt .gsts-contact-form-card {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* ── Large-screen minimum card height ────────────────────────────────── */

@media (min-width: 1200px) {
    .gsts-page-kontakt .gsts-contact-info-card {
        min-height: var(--gsts-card-minh);
    }
}
