/* ══ Shared Section Layout ══ */
.cq-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.cq-section-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.cq-section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 100;
    letter-spacing: clamp(0.1rem, 0.4vw, 0.4rem);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.cq-section-sub {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 550px;
}

@media (max-width: 768px) {
    .cq-section {
        padding: 3rem 1.5rem;
    }
}

/* Extracted from 1772720043811_cage-quests-kontakt.html */

/* ═══════════════════════════════════════════════════
   1. HERO — compact
   ═══════════════════════════════════════════════════ */
.cq-contact-hero {
    position: relative;
    padding: calc(var(--header-height) + 6rem) 3rem 3rem;
    background: var(--surface);
    border-bottom: 1px solid var(--glass-border);
}

.cq-contact-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cq-contact-hero-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.cq-contact-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 100;
    letter-spacing: clamp(0.2rem, 0.8vw, 0.8rem);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cq-contact-hero-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 820px;
}

@media (max-width: 768px) {
    .cq-contact-hero {
        padding: calc(var(--header-height-mobile) + 2rem) 1.5rem 2rem;
    }
}

/* ═══════════════════════════════════════════════════
   2. CONTACT GRID — Form + Quick Contact
   ═══════════════════════════════════════════════════ */
.cq-contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    margin-top: 0;
}

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

/* ═══ Form ═══ */
.cq-contact-form-wrapper {}

.cq-contact-form-title {
    font-size: 0.85rem;
    font-weight: 100;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cq-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cq-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

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

.cq-contact-field {
    position: relative;
}

.cq-contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.cq-contact-input,
.cq-contact-select,
.cq-contact-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--glass-medium);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s;
}

.cq-contact-input:focus,
.cq-contact-select:focus,
.cq-contact-textarea:focus {
    border-color: var(--gold);
}

.cq-contact-input::placeholder,
.cq-contact-textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.cq-contact-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4L6 8L10 4' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.cq-contact-select option {
    background: var(--elevated);
    color: var(--white);
}

.cq-contact-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ═══ Conditional Location Field ═══ */
.cq-contact-location-field {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
    margin-top: -1.2rem; /* offset the form gap */
}
.cq-contact-location-field.is-visible {
    display: block !important;
    max-height: 120px;
    opacity: 1;
    margin-top: 0;
}

.cq-contact-submit {
    align-self: flex-start;
}

.cq-contact-privacy {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.cq-contact-privacy a {
    color: var(--gold);
    text-decoration: none;
}

/* ═══ Quick contact sidebar ═══ */
.cq-contact-quick {}

.cq-contact-quick-title {
    font-size: 0.85rem;
    font-weight: 100;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cq-contact-quick-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cq-contact-quick-item {
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s;
}

.cq-contact-quick-item:hover {
    border-color: rgba(255, 255, 255, 0.55);
}

.cq-contact-quick-icon {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    opacity: 0.8;
}

.cq-contact-quick-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.cq-contact-quick-value {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cq-contact-quick-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.cq-contact-quick-value a:hover {
    color: var(--gold);
}

.cq-contact-response {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(24, 194, 126, 0.06);
    border: 1px solid rgba(24, 194, 126, 0.15);
}

.cq-contact-response-text {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   3. STANDORTE — Location cards
   ═══════════════════════════════════════════════════ */
.cq-contact-locations {
    background: var(--surface);
}

.cq-contact-loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.cq-contact-loc {
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.cq-contact-loc-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.cq-contact-loc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
    animation: pulse 2s infinite;
}

.cq-contact-loc-dot.coming {
    background: var(--warn);
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8)
    }
}

.cq-contact-loc-city {
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cq-contact-loc-detail {
    margin-bottom: 1rem;
}

.cq-contact-loc-detail-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.cq-contact-loc-detail-value {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.cq-contact-loc-detail-value a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.cq-contact-loc-detail-value a:hover {
    color: var(--gold);
}

.cq-contact-loc-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s;
}

.cq-contact-loc-map-link:hover {
    color: var(--gold-light);
    gap: 9px;
}

@media (max-width: 768px) {
    .cq-contact-loc-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════
   4. MAP
   ═══════════════════════════════════════════════════ */
.cq-contact-map {
    margin-top: 0;
}

.cq-contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cq-contact-map-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.cq-contact-map-card-label {
    padding: 0.8rem 1.2rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--glass-border);
}

.cq-contact-map-embed {
    width: 100%;
    /* Hoeher und heller (Nadja K2, 07.09.2026): 300 px in einer halbierten
       Spalte plus brightness(0.55)/contrast(1.3) nahmen Strassennamen und
       Pin den Kontrast — die Karte kam als "zu klein, nichts zu erkennen"
       an. Die dunkle Anmutung bleibt, sie wird nur lesbar. */
    height: 380px;
    background: var(--elevated);
    border: none;
    filter: grayscale(0.8) invert(0.92) brightness(0.75) contrast(1.1);
}

.cq-contact-map-hint {
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

@media (max-width: 768px) {
    .cq-contact-map-grid {
        grid-template-columns: 1fr;
    }
    .cq-contact-map-embed {
        height: 300px;
    }
}

/* ═══ Honeypot ═══ */
.cq-contact-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ═══ Contact Form Status Messages ═══ */
.cq-contact-status {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
    border: 1px solid;
    animation: fadeIn 0.3s ease;
}

.cq-contact-status--success {
    background: rgba(24, 194, 126, 0.08);
    border-color: rgba(24, 194, 126, 0.2);
    color: rgba(24, 194, 126, 0.9);
}

.cq-contact-status--error {
    background: rgba(255, 82, 82, 0.08);
    border-color: rgba(255, 82, 82, 0.2);
    color: rgba(255, 82, 82, 0.9);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ FOOTER ═══ */